Versions in this module Expand all Collapse all v0 v0.0.2 Sep 30, 2023 v0.0.1 Sep 18, 2023 v0.0.0 Sep 5, 2023 Changes in this version + const AboutPageTmpl + const EmojiPageTmpl + const ErrorPageTmpl + const FiltersPageTmpl + const LikedByPageTmpl + const ListPageTmpl + const ListsPageTmpl + const MutePageTmpl + const NavPageTmpl + const NotificationPageTmpl + const QuickReplyPageTmpl + const ReactionsPageTmpl + const RetweetedByPageTmpl + const RootPageTmpl + const SearchPageTmpl + const SettingsPageTmpl + const SigninPageTmpl + const StatusEditsTmpl + const ThreadPageTmpl + const TimelinePageTmpl + const UserPageBlocks + const UserPageBookmarks + const UserPageFollowers + const UserPageFollowing + const UserPageLikes + const UserPageMedia + const UserPageMutes + const UserPagePinned + const UserPageRequests + const UserPageStatuses + const UserPageTmpl + const UserSearchPageTmpl + func AboutPage(rctx *Context) (err error) + func EditsPage(rctx *Context, history []*masta.StatusHistory, current *masta.Status) error + func EmojiPage(rctx *Context, ems []*masta.Emoji) (err error) + func ErrorPage(rctx *Context, err error, retry bool) error + func FiltersPage(rctx *Context, filters []*masta.Filter) (err error) + func LikedByPage(rctx *Context, likers []*masta.Account) (err error) + func ListPage(rctx *Context, data *ListData) error + func ListsPage(rctx *Context, lists []*masta.List) error + func MutePage(rctx *Context, acct *masta.Account) (err error) + func NavPage(rctx *Context, user *masta.Account) (err error) + func NotificationPage(rctx *Context, notifs []*masta.Notification) (err error) + func QuickReplyPage(rctx *Context, replyee *masta.Status, parent *masta.Status) (err error) + func ReactionsPage(rctx *Context, reactions []masta.EmojiReaction) (err error) + func RetweetedByPage(rctx *Context, retweeters []*masta.Account) (err error) + func RootPage(rctx *Context) (err error) + func SearchPage(rctx *Context, results *masta.Results, q string, qType string, offset int) (err error) + func SettingsPage(rctx *Context) (err error) + func SigninPage(rctx *Context) error + func ThreadPage(rctx *Context, status *masta.Status, context *masta.Context, mutate bool, ...) (err error) + func TimelinePage(rctx *Context, data *TimelineData) error + func UserPage(rctx *Context, user *masta.Account, rel *masta.Relationship, pdata up, ...) (err error) + func UserSearchPage(rctx *Context, offset int, res *masta.Results, acct *masta.Account, ...) (err error) + type Context struct + CSRFToken string + Conf *conf.Configuration + Pagination *masta.Pagination + Referrer string + Settings Settings + UserID string + W io.Writer + func (c *Context) Count() int + func (c *Context) Next() string + func (c *Context) RefreshInterval() int + func (c *Context) Target() string + func (c *Context) Title() string + type EditContext struct + Source *masta.Source + Status *masta.Status + type EmojiData struct + Emojis []*masta.Emoji + type ErrorData struct + Err string + Retry bool + SessionErr bool + type FiltersData struct + Filters []*masta.Filter + type HomePageData struct + type LikedByData struct + NextLink string + Users []*masta.Account + type ListData struct + Accounts []*masta.Account + List *masta.List + Q string + SearchAccounts []*masta.Account + type ListsData struct + Lists []*masta.List + type MuteData struct + User *masta.Account + type NavData struct + Context *Context + PostContext PostContext + User *masta.Account + type NotificationData struct + NextLink string + Notifications []*masta.Notification + ReadID string + UnmarkedCount int + type Page string + type PostContext struct + DefaultFormat string + DefaultVisibility string + EditContext *EditContext + Formats []conf.PostFormat + ReplyContext *ReplyContext + type QuickReplyData struct + Ancestor *masta.Status + PostContext PostContext + Status *masta.Status + type ReactionsData struct + Reactions []masta.EmojiReaction + type ReplyContext struct + ForceVisibility bool + InReplyToID string + InReplyToName string + QuickReply bool + ReplyContent string + ReplySubjectHeader string + func (r *ReplyContext) ReifiedSubjectHeader() string + type RetweetedByData struct + NextLink string + Users []*masta.Account + type RootData struct + Title string + type SearchData struct + NextLink string + Q string + Statuses []*masta.Status + Type string + Users []*masta.Account + type Settings struct + AntiDopamineMode bool + CSS string + CopyScope bool + DarkMode bool + DefaultFormat string + DefaultVisibility string + FluorideMode bool + HideAttachments bool + HideUnsupportedNotifs bool + MaskNSFW bool + NotificationInterval int + Stamp string + ThreadInNewTab bool + func NewSettings() *Settings + type SettingsData struct + PostFormats []conf.PostFormat + Settings *Settings + type SigninData struct + type StatusData struct + History bool + InReplyToNo *int + No *int + Replies []ThreadReplyData + ShowReplies bool + type TemplateData struct + Ctx *Context + Data interface{} + type ThreadData struct + PostContext PostContext + Statuses []*StatusData + type ThreadReplyData struct + No int + type TimelineData struct + Instance string + NextLink string + PrevLink string + Statuses []*masta.Status + Title string + Type string + type UserData struct + IsCurrent bool + NextLink string + Relationship *masta.Relationship + Statuses []*masta.Status + Type string + User *masta.Account + Users []*masta.Account + type UserSearchData struct + NextLink string + Q string + Statuses []*masta.Status + User *masta.Account