Documentation ¶
Index ¶
- type AccountClient
- func (ac *AccountClient) AddUserToList(u *mastodon.Account, l *mastodon.List) error
- func (ac *AccountClient) BlockToggle(u *User) (*mastodon.Relationship, error)
- func (ac *AccountClient) BlockUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) Bookmark(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) BookmarkToogle(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) Boost(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) BoostToggle(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) ClearNotifications() error
- func (ac *AccountClient) DeleteStatus(s *mastodon.Status) error
- func (ac *AccountClient) DeleteUserFromList(u *mastodon.Account, l *mastodon.List) error
- func (ac *AccountClient) Favorite(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) FavoriteToogle(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) FollowRequestAccept(u *mastodon.Account) error
- func (ac *AccountClient) FollowRequestDeny(u *mastodon.Account) error
- func (ac *AccountClient) FollowTag(tag string) error
- func (ac *AccountClient) FollowToggle(u *User) (*mastodon.Relationship, error)
- func (ac *AccountClient) FollowUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) GetBlocking(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetBookmarks(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetBoostsStatus(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetCharLimit() int
- func (ac *AccountClient) GetConversations(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetFavorites(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetFavoritesStatus(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetFollowRequests(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetFollowers(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetFollowing(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetFollowingForList(pg *mastodon.Pagination, id mastodon.ID, data interface{}) ([]Item, error)
- func (ac *AccountClient) GetHistory(status *mastodon.Status) ([]Item, error)
- func (ac *AccountClient) GetLengthURL() int
- func (ac *AccountClient) GetListStatuses(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetListUsers(pg *mastodon.Pagination, id mastodon.ID, data interface{}) ([]Item, error)
- func (ac *AccountClient) GetLists() ([]Item, error)
- func (ac *AccountClient) GetMuting(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetNotifications(nth []config.NotificationToHide, pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetPollOptions() (options, chars int)
- func (ac *AccountClient) GetStatus(id mastodon.ID) (*mastodon.Status, error)
- func (ac *AccountClient) GetTag(pg *mastodon.Pagination, search string) ([]Item, error)
- func (ac *AccountClient) GetTagMultiple(pg *mastodon.Pagination, search string) ([]Item, error)
- func (ac *AccountClient) GetTags(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetThread(status *mastodon.Status) ([]Item, error)
- func (ac *AccountClient) GetTimeline(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetTimelineFederated(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetTimelineLocal(pg *mastodon.Pagination) ([]Item, error)
- func (ac *AccountClient) GetUser(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetUserByID(id mastodon.ID) (Item, error)
- func (ac *AccountClient) GetUserPinned(id mastodon.ID) ([]Item, error)
- func (ac *AccountClient) GetUsers(search string) ([]Item, error)
- func (ac *AccountClient) MuteToggle(u *User) (*mastodon.Relationship, error)
- func (ac *AccountClient) MuteUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) NewDirectStream() (*Receiver, string, error)
- func (ac *AccountClient) NewFederatedStream() (*Receiver, string, error)
- func (ac *AccountClient) NewGenericStream(st StreamType, data string) (rec *Receiver, err error)
- func (ac *AccountClient) NewHomeStream() (*Receiver, string, error)
- func (ac *AccountClient) NewListStream(id mastodon.ID) (*Receiver, string, error)
- func (ac *AccountClient) NewLocalStream() (*Receiver, string, error)
- func (ac *AccountClient) NewTagStream(tag string) (*Receiver, string, error)
- func (ac *AccountClient) RemoveConversationReceiver(rec *Receiver)
- func (ac *AccountClient) RemoveFederatedReceiver(rec *Receiver)
- func (ac *AccountClient) RemoveGenericReceiver(rec *Receiver, st StreamType, data string)
- func (ac *AccountClient) RemoveHomeReceiver(rec *Receiver)
- func (ac *AccountClient) RemoveListReceiver(rec *Receiver, id mastodon.ID)
- func (ac *AccountClient) RemoveLocalReceiver(rec *Receiver)
- func (ac *AccountClient) RemoveTagReceiver(rec *Receiver, tag string)
- func (ac *AccountClient) SavePreferences(p *mastodon.Profile) error
- func (ac *AccountClient) TagToggleFollow(tag *mastodon.Tag) (*mastodon.Tag, error)
- func (ac *AccountClient) UnblockUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) Unbookmark(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) Unboost(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) Unfavorite(s *mastodon.Status) (*mastodon.Status, error)
- func (ac *AccountClient) UnfollowTag(tag string) error
- func (ac *AccountClient) UnfollowUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) UnmuteUser(u *mastodon.Account) (*mastodon.Relationship, error)
- func (ac *AccountClient) Vote(poll *mastodon.Poll, choices ...int) (*mastodon.Poll, error)
- type Item
- func NewListsItem(item *mastodon.List) Item
- func NewNotificationItem(item *mastodon.Notification, user *User) (nitem Item)
- func NewStatusHistoryItem(item *mastodon.StatusHistory) (sitem Item)
- func NewStatusItem(item *mastodon.Status, pinned bool) (sitem Item)
- func NewStatusItemID(item *mastodon.Status, pinned bool, id uint) (sitem Item)
- func NewTagItem(item *mastodon.Tag) Item
- func NewUserItem(item *User, profile bool) Item
- type ListItem
- func (s *ListItem) Filtered(config.FeedType) (bool, string, string, bool)
- func (l *ListItem) ForceViewFilter()
- func (s *ListItem) ID() uint
- func (n *ListItem) Pinned() bool
- func (s *ListItem) Raw() interface{}
- func (l *ListItem) Refetch(ac *AccountClient) bool
- func (s *ListItem) ShowCW() bool
- func (s *ListItem) ToggleCW()
- func (s *ListItem) Type() MastodonType
- func (s *ListItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
- type MastodonType
- type NotificationData
- type NotificationItem
- func (n *NotificationItem) Filtered(config.FeedType) (bool, string, string, bool)
- func (n *NotificationItem) ForceViewFilter()
- func (n *NotificationItem) ID() uint
- func (n *NotificationItem) Pinned() bool
- func (n *NotificationItem) Raw() interface{}
- func (n *NotificationItem) Refetch(ac *AccountClient) bool
- func (n *NotificationItem) ShowCW() bool
- func (n *NotificationItem) ToggleCW()
- func (n *NotificationItem) Type() MastodonType
- func (n *NotificationItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
- type Receiver
- type RequestData
- type StatusHistoryItem
- func (s *StatusHistoryItem) Filtered(config.FeedType) (bool, string, string, bool)
- func (t *StatusHistoryItem) ForceViewFilter()
- func (s *StatusHistoryItem) ID() uint
- func (s *StatusHistoryItem) Pinned() bool
- func (s *StatusHistoryItem) Raw() interface{}
- func (s *StatusHistoryItem) Refetch(ac *AccountClient) bool
- func (s *StatusHistoryItem) ShowCW() bool
- func (s *StatusHistoryItem) ToggleCW()
- func (s *StatusHistoryItem) Type() MastodonType
- func (s *StatusHistoryItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
- type StatusItem
- func (s *StatusItem) Filtered(tl config.FeedType) (bool, string, string, bool)
- func (s *StatusItem) ForceViewFilter()
- func (s *StatusItem) ID() uint
- func (s *StatusItem) Pinned() bool
- func (s *StatusItem) Raw() interface{}
- func (s *StatusItem) Refetch(ac *AccountClient) bool
- func (s *StatusItem) ShowCW() bool
- func (s *StatusItem) ToggleCW()
- func (s *StatusItem) Type() MastodonType
- func (s *StatusItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
- type Stream
- type StreamType
- type TagItem
- func (t *TagItem) Filtered(config.FeedType) (bool, string, string, bool)
- func (t *TagItem) ForceViewFilter()
- func (t *TagItem) ID() uint
- func (t *TagItem) Pinned() bool
- func (t *TagItem) Raw() interface{}
- func (t *TagItem) Refetch(ac *AccountClient) bool
- func (t *TagItem) ShowCW() bool
- func (t *TagItem) ToggleCW()
- func (t *TagItem) Type() MastodonType
- func (t *TagItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
- type TimelineType
- type User
- type UserItem
- func (u *UserItem) Filtered(config.FeedType) (bool, string, string, bool)
- func (u *UserItem) ForceViewFilter()
- func (u *UserItem) ID() uint
- func (u *UserItem) Pinned() bool
- func (u *UserItem) Raw() interface{}
- func (u *UserItem) Refetch(ac *AccountClient) bool
- func (u *UserItem) ShowCW() bool
- func (u *UserItem) ToggleCW()
- func (u *UserItem) Type() MastodonType
- func (u *UserItem) URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountClient ¶
type AccountClient struct { Client *mastodon.Client Streams map[string]*Stream Me *mastodon.Account WSClient *mastodon.WSClient InstanceOld *mastodon.Instance Instance *mastodon.InstanceV2 }
func (*AccountClient) AddUserToList ¶
func (ac *AccountClient) AddUserToList(u *mastodon.Account, l *mastodon.List) error
func (*AccountClient) BlockToggle ¶
func (ac *AccountClient) BlockToggle(u *User) (*mastodon.Relationship, error)
func (*AccountClient) BlockUser ¶
func (ac *AccountClient) BlockUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) Bookmark ¶
func (ac *AccountClient) Bookmark(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) BookmarkToogle ¶
func (ac *AccountClient) BookmarkToogle(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) Boost ¶
func (ac *AccountClient) Boost(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) BoostToggle ¶
func (ac *AccountClient) BoostToggle(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) ClearNotifications ¶
func (ac *AccountClient) ClearNotifications() error
func (*AccountClient) DeleteStatus ¶
func (ac *AccountClient) DeleteStatus(s *mastodon.Status) error
func (*AccountClient) DeleteUserFromList ¶
func (ac *AccountClient) DeleteUserFromList(u *mastodon.Account, l *mastodon.List) error
func (*AccountClient) Favorite ¶
func (ac *AccountClient) Favorite(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) FavoriteToogle ¶
func (ac *AccountClient) FavoriteToogle(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) FollowRequestAccept ¶
func (ac *AccountClient) FollowRequestAccept(u *mastodon.Account) error
func (*AccountClient) FollowRequestDeny ¶
func (ac *AccountClient) FollowRequestDeny(u *mastodon.Account) error
func (*AccountClient) FollowTag ¶
func (ac *AccountClient) FollowTag(tag string) error
func (*AccountClient) FollowToggle ¶
func (ac *AccountClient) FollowToggle(u *User) (*mastodon.Relationship, error)
func (*AccountClient) FollowUser ¶
func (ac *AccountClient) FollowUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) GetBlocking ¶
func (ac *AccountClient) GetBlocking(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetBookmarks ¶
func (ac *AccountClient) GetBookmarks(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetBoostsStatus ¶
func (ac *AccountClient) GetBoostsStatus(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetCharLimit ¶
func (ac *AccountClient) GetCharLimit() int
func (*AccountClient) GetConversations ¶
func (ac *AccountClient) GetConversations(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetFavorites ¶
func (ac *AccountClient) GetFavorites(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetFavoritesStatus ¶
func (ac *AccountClient) GetFavoritesStatus(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetFollowRequests ¶
func (ac *AccountClient) GetFollowRequests(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetFollowers ¶
func (ac *AccountClient) GetFollowers(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetFollowing ¶
func (ac *AccountClient) GetFollowing(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetFollowingForList ¶
func (ac *AccountClient) GetFollowingForList(pg *mastodon.Pagination, id mastodon.ID, data interface{}) ([]Item, error)
func (*AccountClient) GetHistory ¶
func (ac *AccountClient) GetHistory(status *mastodon.Status) ([]Item, error)
func (*AccountClient) GetLengthURL ¶
func (ac *AccountClient) GetLengthURL() int
func (*AccountClient) GetListStatuses ¶
func (ac *AccountClient) GetListStatuses(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetListUsers ¶
func (ac *AccountClient) GetListUsers(pg *mastodon.Pagination, id mastodon.ID, data interface{}) ([]Item, error)
func (*AccountClient) GetLists ¶
func (ac *AccountClient) GetLists() ([]Item, error)
func (*AccountClient) GetMuting ¶
func (ac *AccountClient) GetMuting(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetNotifications ¶
func (ac *AccountClient) GetNotifications(nth []config.NotificationToHide, pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetPollOptions ¶
func (ac *AccountClient) GetPollOptions() (options, chars int)
func (*AccountClient) GetStatus ¶
func (ac *AccountClient) GetStatus(id mastodon.ID) (*mastodon.Status, error)
func (*AccountClient) GetTag ¶
func (ac *AccountClient) GetTag(pg *mastodon.Pagination, search string) ([]Item, error)
func (*AccountClient) GetTagMultiple ¶
func (ac *AccountClient) GetTagMultiple(pg *mastodon.Pagination, search string) ([]Item, error)
func (*AccountClient) GetTags ¶
func (ac *AccountClient) GetTags(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetThread ¶
func (ac *AccountClient) GetThread(status *mastodon.Status) ([]Item, error)
func (*AccountClient) GetTimeline ¶
func (ac *AccountClient) GetTimeline(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetTimelineFederated ¶
func (ac *AccountClient) GetTimelineFederated(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetTimelineLocal ¶
func (ac *AccountClient) GetTimelineLocal(pg *mastodon.Pagination) ([]Item, error)
func (*AccountClient) GetUser ¶
func (ac *AccountClient) GetUser(pg *mastodon.Pagination, id mastodon.ID) ([]Item, error)
func (*AccountClient) GetUserByID ¶
func (ac *AccountClient) GetUserByID(id mastodon.ID) (Item, error)
func (*AccountClient) GetUserPinned ¶
func (ac *AccountClient) GetUserPinned(id mastodon.ID) ([]Item, error)
func (*AccountClient) MuteToggle ¶
func (ac *AccountClient) MuteToggle(u *User) (*mastodon.Relationship, error)
func (*AccountClient) MuteUser ¶
func (ac *AccountClient) MuteUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) NewDirectStream ¶
func (ac *AccountClient) NewDirectStream() (*Receiver, string, error)
func (*AccountClient) NewFederatedStream ¶
func (ac *AccountClient) NewFederatedStream() (*Receiver, string, error)
func (*AccountClient) NewGenericStream ¶
func (ac *AccountClient) NewGenericStream(st StreamType, data string) (rec *Receiver, err error)
func (*AccountClient) NewHomeStream ¶
func (ac *AccountClient) NewHomeStream() (*Receiver, string, error)
func (*AccountClient) NewListStream ¶
func (ac *AccountClient) NewListStream(id mastodon.ID) (*Receiver, string, error)
func (*AccountClient) NewLocalStream ¶
func (ac *AccountClient) NewLocalStream() (*Receiver, string, error)
func (*AccountClient) NewTagStream ¶
func (ac *AccountClient) NewTagStream(tag string) (*Receiver, string, error)
func (*AccountClient) RemoveConversationReceiver ¶
func (ac *AccountClient) RemoveConversationReceiver(rec *Receiver)
func (*AccountClient) RemoveFederatedReceiver ¶
func (ac *AccountClient) RemoveFederatedReceiver(rec *Receiver)
func (*AccountClient) RemoveGenericReceiver ¶
func (ac *AccountClient) RemoveGenericReceiver(rec *Receiver, st StreamType, data string)
func (*AccountClient) RemoveHomeReceiver ¶
func (ac *AccountClient) RemoveHomeReceiver(rec *Receiver)
func (*AccountClient) RemoveListReceiver ¶
func (ac *AccountClient) RemoveListReceiver(rec *Receiver, id mastodon.ID)
func (*AccountClient) RemoveLocalReceiver ¶
func (ac *AccountClient) RemoveLocalReceiver(rec *Receiver)
func (*AccountClient) RemoveTagReceiver ¶
func (ac *AccountClient) RemoveTagReceiver(rec *Receiver, tag string)
func (*AccountClient) SavePreferences ¶
func (ac *AccountClient) SavePreferences(p *mastodon.Profile) error
func (*AccountClient) TagToggleFollow ¶
func (ac *AccountClient) TagToggleFollow(tag *mastodon.Tag) (*mastodon.Tag, error)
func (*AccountClient) UnblockUser ¶
func (ac *AccountClient) UnblockUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) Unbookmark ¶
func (ac *AccountClient) Unbookmark(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) Unboost ¶
func (ac *AccountClient) Unboost(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) Unfavorite ¶
func (ac *AccountClient) Unfavorite(s *mastodon.Status) (*mastodon.Status, error)
func (*AccountClient) UnfollowTag ¶
func (ac *AccountClient) UnfollowTag(tag string) error
func (*AccountClient) UnfollowUser ¶
func (ac *AccountClient) UnfollowUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) UnmuteUser ¶
func (ac *AccountClient) UnmuteUser(u *mastodon.Account) (*mastodon.Relationship, error)
func (*AccountClient) Vote ¶
func (ac *AccountClient) Vote(poll *mastodon.Poll, choices ...int) (*mastodon.Poll, error)
type Item ¶
type Item interface { ID() uint Type() MastodonType ToggleCW() ShowCW() bool Raw() interface{} URLs() ([]util.URL, []mastodon.Mention, []mastodon.Tag, int) Filtered(config.FeedType) (bool, string, string, bool) ForceViewFilter() Pinned() bool Refetch(*AccountClient) bool }
func NewListsItem ¶
func NewListsItem(item *mastodon.List) Item
func NewNotificationItem ¶
func NewStatusHistoryItem ¶
func NewStatusHistoryItem(item *mastodon.StatusHistory) (sitem Item)
func NewStatusItem ¶
func NewStatusItemID ¶
func NewTagItem ¶
func NewTagItem(item *mastodon.Tag) Item
func NewUserItem ¶
type ListItem ¶
type ListItem struct {
// contains filtered or unexported fields
}
func (*ListItem) ForceViewFilter ¶
func (l *ListItem) ForceViewFilter()
func (*ListItem) Refetch ¶
func (l *ListItem) Refetch(ac *AccountClient) bool
func (*ListItem) Type ¶
func (s *ListItem) Type() MastodonType
type MastodonType ¶
type MastodonType uint
const ( StatusType MastodonType = iota StatusHistoryType UserType ProfileType NotificationType ListsType TagType )
type NotificationData ¶
type NotificationItem ¶
type NotificationItem struct {
// contains filtered or unexported fields
}
func (*NotificationItem) ForceViewFilter ¶
func (n *NotificationItem) ForceViewFilter()
func (*NotificationItem) ID ¶
func (n *NotificationItem) ID() uint
func (*NotificationItem) Pinned ¶
func (n *NotificationItem) Pinned() bool
func (*NotificationItem) Raw ¶
func (n *NotificationItem) Raw() interface{}
func (*NotificationItem) Refetch ¶
func (n *NotificationItem) Refetch(ac *AccountClient) bool
func (*NotificationItem) ShowCW ¶
func (n *NotificationItem) ShowCW() bool
func (*NotificationItem) ToggleCW ¶
func (n *NotificationItem) ToggleCW()
func (*NotificationItem) Type ¶
func (n *NotificationItem) Type() MastodonType
type Receiver ¶
type Receiver struct { Ch chan mastodon.Event Closed bool // contains filtered or unexported fields }
type RequestData ¶
type RequestData struct { MinID mastodon.ID MaxID mastodon.ID }
type StatusHistoryItem ¶
type StatusHistoryItem struct {
// contains filtered or unexported fields
}
func (*StatusHistoryItem) ForceViewFilter ¶
func (t *StatusHistoryItem) ForceViewFilter()
func (*StatusHistoryItem) ID ¶
func (s *StatusHistoryItem) ID() uint
func (*StatusHistoryItem) Pinned ¶
func (s *StatusHistoryItem) Pinned() bool
func (*StatusHistoryItem) Raw ¶
func (s *StatusHistoryItem) Raw() interface{}
func (*StatusHistoryItem) Refetch ¶
func (s *StatusHistoryItem) Refetch(ac *AccountClient) bool
func (*StatusHistoryItem) ShowCW ¶
func (s *StatusHistoryItem) ShowCW() bool
func (*StatusHistoryItem) ToggleCW ¶
func (s *StatusHistoryItem) ToggleCW()
func (*StatusHistoryItem) Type ¶
func (s *StatusHistoryItem) Type() MastodonType
type StatusItem ¶
type StatusItem struct {
// contains filtered or unexported fields
}
func (*StatusItem) ForceViewFilter ¶
func (s *StatusItem) ForceViewFilter()
func (*StatusItem) ID ¶
func (s *StatusItem) ID() uint
func (*StatusItem) Pinned ¶
func (s *StatusItem) Pinned() bool
func (*StatusItem) Raw ¶
func (s *StatusItem) Raw() interface{}
func (*StatusItem) Refetch ¶
func (s *StatusItem) Refetch(ac *AccountClient) bool
func (*StatusItem) ShowCW ¶
func (s *StatusItem) ShowCW() bool
func (*StatusItem) ToggleCW ¶
func (s *StatusItem) ToggleCW()
func (*StatusItem) Type ¶
func (s *StatusItem) Type() MastodonType
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) AddReceiver ¶
func (*Stream) RemoveReceiver ¶
type StreamType ¶
type StreamType uint
const ( HomeStream StreamType = iota LocalStream FederatedStream DirectStream TagStream ListStream )
type TagItem ¶
type TagItem struct {
// contains filtered or unexported fields
}
func (*TagItem) ForceViewFilter ¶
func (t *TagItem) ForceViewFilter()
func (*TagItem) Refetch ¶
func (t *TagItem) Refetch(ac *AccountClient) bool
func (*TagItem) Type ¶
func (t *TagItem) Type() MastodonType
type TimelineType ¶
type TimelineType uint
type User ¶
type User struct { Data *mastodon.Account Relation *mastodon.Relationship AdditionalData interface{} }
type UserItem ¶
type UserItem struct {
// contains filtered or unexported fields
}
func (*UserItem) ForceViewFilter ¶
func (u *UserItem) ForceViewFilter()
func (*UserItem) Refetch ¶
func (u *UserItem) Refetch(ac *AccountClient) bool
func (*UserItem) Type ¶
func (u *UserItem) Type() MastodonType
Click to show internal directories.
Click to hide internal directories.