Documentation ¶
Index ¶
- func GetBlogName(username string) string
- func GetPostTitle(post *db.Post) string
- func NewConfigSite() *shared.ConfigSite
- func StartApiServer()
- func StartSshServer()
- type BlogPageData
- type HeaderTxt
- type ListHooks
- type PostItemData
- type PostPageData
- type ReadPageData
- type ReadmeTxt
- type SSHServer
- type TransparencyPageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlogName ¶
func GetPostTitle ¶
func NewConfigSite ¶
func NewConfigSite() *shared.ConfigSite
func StartApiServer ¶
func StartApiServer()
func StartSshServer ¶ added in v1.8.1
func StartSshServer()
Types ¶
type BlogPageData ¶
type ListHooks ¶
type ListHooks struct { Cfg *shared.ConfigSite Db db.DB }
func (*ListHooks) FileMeta ¶
func (p *ListHooks) FileMeta(s ssh.Session, data *filehandlers.PostMetaData) error
func (*ListHooks) FileValidate ¶
func (p *ListHooks) FileValidate(s ssh.Session, data *filehandlers.PostMetaData) (bool, error)
type PostItemData ¶
type PostPageData ¶
type ReadPageData ¶
type ReadPageData struct { Site shared.SitePageData NextPage string PrevPage string Posts []PostItemData Tags []string HasFilter bool }
type TransparencyPageData ¶
type TransparencyPageData struct { Site shared.SitePageData Analytics *db.Analytics }
Click to show internal directories.
Click to hide internal directories.