Documentation ¶
Index ¶
- type DesktopNotificationHolder
- type DesktopNotificationType
- type Feed
- func NewBlocking(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewBookmarks(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewBoosts(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
- func NewConversations(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewFavorites(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewFavoritesStatus(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
- func NewFollowRequests(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewFollowers(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
- func NewFollowing(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
- func NewHistory(ac *api.AccountClient, cnf *config.Config, status *mastodon.Status) *Feed
- func NewList(ac *api.AccountClient, cnf *config.Config, list *mastodon.List, ...) *Feed
- func NewListList(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewMuting(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewNotifications(ac *api.AccountClient, cnf *config.Config, hideBoosts bool, hideReplies bool) *Feed
- func NewNotificationsMentions(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewTag(ac *api.AccountClient, cnf *config.Config, search string, hideBoosts bool, ...) *Feed
- func NewTags(ac *api.AccountClient, cnf *config.Config) *Feed
- func NewThread(ac *api.AccountClient, cnf *config.Config, status *mastodon.Status) *Feed
- func NewTimelineFederated(ac *api.AccountClient, cnf *config.Config, hideBoosts bool, hideReplies bool) *Feed
- func NewTimelineHome(ac *api.AccountClient, cnf *config.Config, hideBoosts bool, hideReplies bool) *Feed
- func NewTimelineHomeSpecial(ac *api.AccountClient, cnf *config.Config, hideBoosts bool, hideReplies bool) *Feed
- func NewTimelineLocal(ac *api.AccountClient, cnf *config.Config, hideBoosts bool, hideReplies bool) *Feed
- func NewUserProfile(ac *api.AccountClient, cnf *config.Config, user *api.User) *Feed
- func NewUserSearch(ac *api.AccountClient, cnf *config.Config, search string) *Feed
- func NewUsersAddList(ac *api.AccountClient, cnf *config.Config, list *mastodon.List) *Feed
- func NewUsersInList(ac *api.AccountClient, cnf *config.Config, list *mastodon.List) *Feed
- func (f *Feed) Clear()
- func (f *Feed) Close()
- func (f *Feed) Delete(id uint)
- func (f *Feed) HasStream() bool
- func (f *Feed) Item(index int) (api.Item, error)
- func (f *Feed) List() []api.Item
- func (f *Feed) LoadNewer()
- func (f *Feed) LoadOlder()
- func (f *Feed) Name() string
- func (f *Feed) StickyCount() int
- func (f *Feed) Type() config.FeedType
- func (f *Feed) Updated(nt DesktopNotificationHolder)
- type LoadingLock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DesktopNotificationHolder ¶
type DesktopNotificationHolder struct { Type DesktopNotificationType Data string }
type DesktopNotificationType ¶
type DesktopNotificationType uint
const ( DesktopNotificationNone DesktopNotificationType = iota DesktopNotificationFollower DesktopNotificationFavorite DesktopNotificationMention DesktopNotificationUpdate DesktopNotificationBoost DesktopNotificationPoll DesktopNotificationPost )
type Feed ¶
type Feed struct { Update chan DesktopNotificationHolder // contains filtered or unexported fields }
func NewBlocking ¶
func NewBlocking(ac *api.AccountClient, cnf *config.Config) *Feed
func NewBookmarks ¶
func NewBookmarks(ac *api.AccountClient, cnf *config.Config) *Feed
func NewConversations ¶
func NewConversations(ac *api.AccountClient, cnf *config.Config) *Feed
func NewFavorites ¶
func NewFavorites(ac *api.AccountClient, cnf *config.Config) *Feed
func NewFavoritesStatus ¶
func NewFavoritesStatus(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
func NewFollowRequests ¶
func NewFollowRequests(ac *api.AccountClient, cnf *config.Config) *Feed
func NewFollowers ¶
func NewFollowers(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
func NewFollowing ¶
func NewFollowing(ac *api.AccountClient, cnf *config.Config, id mastodon.ID) *Feed
func NewHistory ¶
func NewHistory(ac *api.AccountClient, cnf *config.Config, status *mastodon.Status) *Feed
func NewListList ¶
func NewListList(ac *api.AccountClient, cnf *config.Config) *Feed
func NewNotifications ¶
func NewNotificationsMentions ¶
func NewNotificationsMentions(ac *api.AccountClient, cnf *config.Config) *Feed
func NewThread ¶
func NewThread(ac *api.AccountClient, cnf *config.Config, status *mastodon.Status) *Feed
func NewTimelineFederated ¶
func NewTimelineHome ¶
func NewTimelineHomeSpecial ¶
func NewTimelineLocal ¶
func NewUserProfile ¶
func NewUserSearch ¶
func NewUsersAddList ¶
func NewUsersAddList(ac *api.AccountClient, cnf *config.Config, list *mastodon.List) *Feed
func NewUsersInList ¶
func NewUsersInList(ac *api.AccountClient, cnf *config.Config, list *mastodon.List) *Feed
func (*Feed) StickyCount ¶
func (*Feed) Updated ¶
func (f *Feed) Updated(nt DesktopNotificationHolder)
type LoadingLock ¶
type LoadingLock struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.