Versions in this module Expand all Collapse all v1 v1.0.2 Mar 14, 2024 v1.0.1 Mar 14, 2024 Changes in this version + func Basic(username string, password string) web.FilterFunc + func NewBasicAuthenticator(secrets SecretProvider, Realm string) web.FilterFunc + type BasicAuth struct + Realm string + Secrets SecretProvider + func (a *BasicAuth) CheckAuth(r *http.Request) string + func (a *BasicAuth) RequireAuth(w http.ResponseWriter, r *http.Request) + type SecretProvider func(user, pass string) bool