Documentation
¶
Index ¶
- Variables
- func DetectFormat(next http.Handler) http.Handler
- func FormatStrings() []string
- func NewFormatContext(ctx context.Context, t Format) context.Context
- func WriteFeed(w http.ResponseWriter, r *http.Request, f *feeds.Feed) error
- func WritePodcast(w http.ResponseWriter, r *http.Request, f *podcast.Podcast) error
- type Format
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContextFormat = errors.New("context format is invalid")
Functions ¶
func FormatStrings ¶
func FormatStrings() []string
FormatStrings returns a slice of all String values of the enum
func WritePodcast ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.