bloat/model/post.go
r fa27d9c6eb Refactor things
- Remove separate auth/logging and merge them into transport.go
- Add helper function for http handlers
2020-11-22 17:29:58 +00:00

20 lines
338 B
Go

package model
type PostFormat struct {
Name string
Type string
}
type PostContext struct {
DefaultVisibility string
DefaultFormat string
ReplyContext *ReplyContext
Formats []PostFormat
}
type ReplyContext struct {
InReplyToID string
InReplyToName string
ReplyContent string
ForceVisibility bool
}