Documentation
¶
Index ¶
- func GetActorPost(ctx *fiber.Ctx, path string) error
- func GetThemeCookie(c *fiber.Ctx) string
- func ParseOutboxRequest(ctx *fiber.Ctx, actor activitypub.Actor) error
- func TemplateFunctions(engine *html.Engine)
- func WantToServeArchive(actorName string) (activitypub.Collection, bool, error)
- func WantToServeCatalog(actorName string) (activitypub.Collection, bool, error)
- type AdminPage
- type Meta
- type PageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetThemeCookie ¶
func ParseOutboxRequest ¶
func ParseOutboxRequest(ctx *fiber.Ctx, actor activitypub.Actor) error
func TemplateFunctions ¶
func WantToServeArchive ¶
func WantToServeArchive(actorName string) (activitypub.Collection, bool, error)
func WantToServeCatalog ¶
func WantToServeCatalog(actorName string) (activitypub.Collection, bool, error)
Types ¶
type AdminPage ¶
type AdminPage struct {
Title string
Board webfinger.Board
Key string
Actor string
Boards []webfinger.Board
Following []string
Followers []string
Domain string
IsLocal bool
PostBlacklist []util.PostBlacklist
AutoSubscribe bool
RecentPosts []activitypub.ObjectBase
Instance activitypub.Actor
Meta Meta
Themes *[]string
ThemeCookie string
}
type PageData ¶
type PageData struct {
Title string
PreferredUsername string
Board webfinger.Board
Pages []int
CurrentPage int
TotalPage int
Boards []webfinger.Board
Posts []activitypub.ObjectBase
Key string
PostId string
Instance activitypub.Actor
ReturnTo string
NewsItems []db.NewsItem
BoardRemainer []int
Meta Meta
PostType string
Themes *[]string
ThemeCookie string
}
Click to show internal directories.
Click to hide internal directories.