Versions in this module Expand all Collapse all v1 v1.150.0 Oct 23, 2026 v1.149.0 Oct 22, 2026 Changes in this version + const RangeDay + const RangeWeek + func Register(mux *http.ServeMux, wrap func(http.Handler) http.Handler, cfg Config) + type Bucket struct + Refused int64 + Start time.Time + type Caller struct + Caller string + Requests int64 + type Config struct + BaseURL string + Bindings epbinding.Store + DB *sql.DB + Now func() time.Time + Script func(ctx context.Context, id string) (*script.Script, error) + type Detail struct + BucketSeconds int64 + Failures []epbinding.Failure + Range string + Series []Bucket + Since time.Time + TopCallers []Caller + type Endpoint struct + AuthMode string + CallerRateLimit int + Enabled bool + ID string + MaxBodyBytes int + Methods []string + Name string + OpenReads bool + Path string + RateLimit int + Refused int64 + RefusedByReason map[string]int64 + Script Script + TimeoutSeconds int + Traffic Traffic + URL string + UpdatedAt time.Time + UpdatedBy string + type List struct + Endpoints []Endpoint + Range string + Since time.Time + type Script struct + DisplayName string + ID string + Name string + Owner string + type StatusClasses struct + S2xx int64 + S3xx int64 + S4xx int64 + S5xx int64 + type Traffic struct + ByStatusClass StatusClasses + Callers int64 + Failures int64 + LastRequestAt *time.Time + P50MS float64 + P95MS float64 + Requests int64