server

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(
	webFS fs.FS,
	siteRoot string,
	routePrefix string,
	version string,
	mgr *heartbeat.Manager,
	hist history.Store,
	disp *notifier.Dispatcher,
	logger *slog.Logger,
	debug bool,
) http.Handler

NewRouter creates a new HTTP router

func Run added in v0.9.0

func Run(ctx context.Context, listenAddr string, router http.Handler, logger *slog.Logger) error

Run sets up and manages the reverse proxy HTTP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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