Versions in this module Expand all Collapse all v1 v1.136.1 Sep 26, 2026 v1.136.0 Sep 26, 2026 Changes in this version + func Register(mux *http.ServeMux, wrap func(http.Handler) http.Handler, cfg Config) + type AuthInput struct + Algorithm string + Encoding string + Header string + Mode string + Prefix string + Secret string + SignatureHeader string + Signed string + TimestampHeader string + ToleranceSeconds int + Username string + type AuthView struct + Algorithm string + Encoding string + Header string + Mode string + Prefix string + PreviousUntil *time.Time + SecretSet bool + SignatureHeader string + Signed string + TimestampHeader string + ToleranceSeconds int + Username string + type Config struct + Author func(*http.Request) string + Service Service + type Service interface + Create func(ctx context.Context, src whsource.Source) (whsource.Source, error) + Delete func(ctx context.Context, name string) error + Get func(ctx context.Context, name string) (whsource.Source, whstore.Status, error) + List func(ctx context.Context) ([]whsource.Source, error) + Update func(ctx context.Context, name string, u whadmin.Update) (whsource.Source, error) + type SourceDetail struct + Source SourceView + Status whstore.Status + type SourceInput struct + Auth AuthInput + Config whsource.Config + Connection string + Enabled *bool + Name string + RotationOverlapSeconds int + type SourceList struct + Sources []SourceView + type SourceView struct + Auth AuthView + Config whsource.Config + Connection string + CreatedAt time.Time + CreatedBy string + Enabled bool + Name string + Path string + Table string + UpdatedAt time.Time