feedserver

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL