Documentation
¶
Overview ¶
Package httpserver builds the pipeline-analytics HTTP handler tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶ added in v0.3.0
type Deps struct {
Registrar *ingestion.Registrar
IngestionStore ingestion.Store
RunStore ingestion.RunStore
Metrics *metrics.Service
Auth *auth.Service
AuthStore auth.Store
// Version is reported by GET /api/version -- the build's tagged
// version, or "dev" for a local build.
Version string
// 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.
Assets fs.FS
}
Deps are New's dependencies.
Click to show internal directories.
Click to hide internal directories.