Versions in this module Expand all Collapse all v3 v3.0.0 Oct 13, 2026 Changes in this version + const DefaultBasePath + func HTTPStatusFor(err error) int + func ParseCommaSeparatedList(raw string) []string + type AuthMode string + const AuthBearer + const AuthNone + const AuthOIDC + func ParseAuthMode(s string) AuthMode + type Authenticator interface + Authenticate func(r *http.Request) error + type BearerAuth struct + Token string + func (b BearerAuth) Authenticate(r *http.Request) error + type Config struct + AckPoison bool + Auth Authenticator + BasePath string + HandlerTimeout time.Duration + MaxBodyBytes int64 + ProtocolOverride string + TrustClaims bool + type Handler struct + func NewHandler(lookup queue.PushLookup, cfg Config) *Handler + func (h *Handler) Register(mux *http.ServeMux) + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type NoneAuth struct + func (NoneAuth) Authenticate(_ *http.Request) error + type OIDCAuth struct + func NewOIDCAuth(ctx context.Context, cfg OIDCConfig) *OIDCAuth + func (o *OIDCAuth) Authenticate(r *http.Request) error + func (o *OIDCAuth) Stop() + type OIDCConfig struct + AllowedEmails []string + Audience string + Issuers []string + JWKSRefresh time.Duration + JWKSURL string + func GoogleCloudTasksOIDCPreset(audience string) OIDCConfig Other modules containing this package github.com/pitabwire/frame/v2