Description

HTTPBasicAuthFunc returns an http.Handler that conditionally calls another http.Handler if the request includes an Authorization header with a username and password that produce a nil error when passed to the given function. Otherwise, respond 401 Unauthorized.

HTTPBasicAuthFunc is referenced in 1 repository

github.com/rcrowley/go-tigertonic