Documentation
¶
Index ¶
- Variables
- func CacheControl(value string, next http.Handler) http.Handler
- func Execute(ctx context.Context, cfg config.Config) error
- func NewAssetsFS(assetsPath string, site *templates.Site) fs.FS
- func RedirectLegacyStream(cfg config.Config) http.HandlerFunc
- func StaticFile(assetsPath string, filename string) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var NewRouter = func() chi.Router { return chi.NewRouter() }
Functions ¶
func RedirectLegacyStream ¶
func RedirectLegacyStream(cfg config.Config) http.HandlerFunc
RedirectLegacyStream redirects a request to the (new) icecast stream url
func StaticFile ¶
func StaticFile(assetsPath string, filename string) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.