website

package
v0.0.0-...-fd00b2c Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewRouter = func() chi.Router { return chi.NewRouter() }

Functions

func AssetsHandler

func AssetsHandler(assetsPath string, site *templates.Site) http.Handler

func Execute

func Execute(ctx context.Context, cfg config.Config) error

Execute runs a website instance with the configuration given

func RedirectLegacyStream

func RedirectLegacyStream(w http.ResponseWriter, r *http.Request)

RedirectLegacyStream redirects a request to the (new) icecast stream url

Types

This section is empty.

Directories

Path Synopsis
api
php
v1

Jump to

Keyboard shortcuts

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