Versions in this module Expand all Collapse all v0 v0.10.0 May 7, 2021 Changes in this version + func AddProtector(p MethodProtector) func(o *RouteOptions) + func HealthCheckHandler(w http.ResponseWriter, r *http.Request) + func NewAdminKey() string + func NewProfileHandler(profiles registry.Profiles) http.HandlerFunc + func NewProfilesHandler(profiles registry.Profiles) http.HandlerFunc + func NewProveKeyHandler(profiles registry.Profiles) http.HandlerFunc + func NewRoutes(reg registry.Registry, opts ...func(o *RouteOptions)) *http.ServeMux + func NewSearchHandler(s registry.Searchable) http.HandlerFunc + func SetLogLevel(level string) error + type BAProtector struct + func NewBAProtector(username, password string) BAProtector + func (ba BAProtector) ProtectMethods(methods ...string) func(http.HandlerFunc) http.HandlerFunc + type MethodProtector interface + ProtectMethods func(methods ...string) func(h http.HandlerFunc) http.HandlerFunc + type NoopProtector uint8 + func NewNoopProtector() NoopProtector + func (NoopProtector) ProtectMethods(methods ...string) func(http.HandlerFunc) http.HandlerFunc + type RouteOptions struct + Protector MethodProtector