Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedServer ¶
type FeedServer struct {
// contains filtered or unexported fields
}
FeedServer serves Atom feeds, organized by profile. Everything is reached through a profile: `/` lists profiles, `/<slug>/` lists that profile's feeds, and `/<slug>/feeds/<name>` is a feed's Atom. The default profile is just a profile (`/default/...`); there is no special global route.
func NewFeedServer ¶
func NewFeedServer(store store.Store, port int, baseURL string) *FeedServer
NewFeedServer creates a new feed server instance. baseURL, when set, is used to build absolute links for the served feeds (empty keeps links relative).
func (*FeedServer) Start ¶
func (fs *FeedServer) Start() error
Start starts the HTTP server with profile-scoped routes.
Click to show internal directories.
Click to hide internal directories.