Documentation
¶
Overview ¶
Package api exposes the gateway over HTTP: the public ingest endpoint, the admin JSON API, and a thin server-rendered dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Store storage.Store
Capturer *ingest.Capturer
Sources *source.Service
Metrics *metrics.Metrics
IngestLimiter *ratelimit.Limiter
AdminToken string
MaxBody int64
Logger *slog.Logger
}
Config wires a Server.
Click to show internal directories.
Click to hide internal directories.