Documentation
¶
Overview ¶
Package basicauth provides HTTP basic access authentication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserPass ¶
func NewUserPass ¶
NewUserPass takes a username:password string and returns a *UserPass.
type UserPassHandler ¶
type UserPassHandler struct {
UP *UserPass
H http.Handler
HF func(http.ResponseWriter, *http.Request)
}
func (*UserPassHandler) ServeHTTP ¶
func (uph *UserPassHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.