Documentation
¶
Index ¶
Constants ¶
View Source
const CeKeyAttachmentType = "attachmenttype"
View Source
const CeKeyAttachmentUrl = "attachmenturl"
View Source
const CeKeyCategories = "categories"
View Source
const CeKeyObjectUrl = "objecturl"
View Source
const CeKeySubject = "subject"
View Source
const CeKeyTime = "time"
View Source
const CeSpecVersion = "1.0"
View Source
const KeyGroupId = "x-awakari-group-id"
View Source
const KeyUserId = "x-awakari-user-id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id string `json:"id"` Acct string `json:"acct"` Discoverable bool `json:"discoverable"` DisplayName string `json:"display_name"` Indexable *bool `json:"indexable,omitempty"` // sometimes it's missing Locked bool `json:"locked"` Noindex bool `json:"noindex"` Note string `json:"note"` Uri string `json:"uri"` Url string `json:"url"` FollowersCount uint32 `json:"followers_count"` StatusesCount uint32 `json:"statuses_count"` Tags []Tag `json:"tags"` }
type MediaAttachment ¶
type SearchType ¶
type SearchType int
const ( SearchTypeStatuses SearchType = iota SearchTypeAccounts )
func (SearchType) String ¶
func (typ SearchType) String() string
type Status ¶
type Status struct { CreatedAt time.Time `json:"created_at"` Visibility string `json:"visibility"` Language string `json:"language,omitempty"` Uri string `json:"uri,omitempty"` Url string `json:"url,omitempty"` Content string `json:"content"` Sensitive bool `json:"sensitive"` Account Account `json:"account"` Tags []Tag `json:"tags"` MediaAttachments []MediaAttachment `json:"media_attachments"` }
Click to show internal directories.
Click to hide internal directories.