Documentation
¶
Index ¶
- type Blog
- func (b *Blog) CloseDB()
- func (b *Blog) GetAuthor() *feeds.Author
- func (b *Blog) GetCopyright() string
- func (b *Blog) GetLink() *feeds.Link
- func (b *Blog) GetRSS() (string, error)
- func (b *Blog) GetSitemap() string
- func (b *Blog) ListPosts() (*map[string]*Post, error)
- func (b *Blog) LoadPost(slug string) (*Post, error)
- func (b *Blog) OpenDB(path string) error
- func (b *Blog) SavePost(slug string, post *Post) error
- func (b *Blog) SeedPosts()
- func (b *Blog) Serve(addr string) (*Server, error)
- type Post
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct { URL string Title string Description string OwnerName string OwnerEmail string YearCreated int // contains filtered or unexported fields }
func (*Blog) GetCopyright ¶
func (*Blog) GetSitemap ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.