Versions in this module Expand all Collapse all v4 v4.14.1 Apr 26, 2023 Changes in this version + func BasicAuthFieldSpec() docs.FieldSpec + func ServerCORSFieldSpec() docs.FieldSpec + type BasicAuthConfig struct + Algorithm string + Enabled bool + PasswordHash string + Realm string + Salt string + Username string + func NewBasicAuthConfig() BasicAuthConfig + func (b BasicAuthConfig) Validate() error + func (b BasicAuthConfig) WrapHandler(next http.HandlerFunc) http.HandlerFunc + type CORSConfig struct + AllowedOrigins []string + Enabled bool + func NewServerCORSConfig() CORSConfig + func (conf CORSConfig) WrapHandler(handler http.Handler) (http.Handler, error)