Versions in this module Expand all Collapse all v0 v0.2.0 Sep 13, 2026 v0.1.0 Sep 10, 2026 Changes in this version + const WellKnownJWKSPath + func NewMux(b Binding) (*http.ServeMux, error) + type Binding struct + func NewBinding(records []Record) (Binding, error) + func (b Binding) PathOf(issuer string) (string, bool) + func (b Binding) Paths() []string + func (b Binding) Records() []Record + type Config struct + Client *http.Client + Clock func() time.Time + Logger *slog.Logger + TTL time.Duration + Timeout time.Duration + UpstreamURL string + type Handler struct + func NewHandler(cfg Config) *Handler + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *Handler) Stats() MirrorStats + type KeySetConfig struct + Logger *slog.Logger + Source KeySetSource + type KeySetHandler struct + func NewKeySetHandler(cfg KeySetConfig) *KeySetHandler + func (h *KeySetHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *KeySetHandler) Stats() KeySetStats + type KeySetSource interface + PublishedSet func(ctx context.Context) ([]domain.PublishedKey, error) + type KeySetStats struct + Empty uint64 + Served uint64 + Unavailable uint64 + type MirrorStats struct + Misconfigured uint64 + Served uint64 + Unavailable uint64 + type Record struct + Handler http.Handler + Issuer string + Path string