Documentation
¶
Overview ¶
Package httpserver builds the pipeline-analytics HTTP handler tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(registrar *ingestion.Registrar, store ingestion.Store, version string, assets fs.FS) http.Handler
New returns the root HTTP handler. version is reported by GET /api/version -- pass the build's tagged version, or "dev" for a local build. assets is the built frontend (internal/webassets.FS()), served for every path the API doesn't claim, falling back to index.html for the SPA client router.
Types ¶
This section is empty.