Versions in this module Expand all Collapse all v0 v0.0.1 Sep 20, 2020 Changes in this version + type Auth struct + func New(password string) *Auth + func (a *Auth) HandleLogin(w http.ResponseWriter, r *http.Request) + func (a *Auth) HandleLogout(w http.ResponseWriter, r *http.Request) + func (a *Auth) Handler(h http.Handler) http.Handler + func (a *Auth) IsAuthenticated(r *http.Request) bool + func (a *Auth) Login(w http.ResponseWriter, hashedPw string) + func (a *Auth) LoginFormHTML(r *http.Request) string + func (a *Auth) Logout(w http.ResponseWriter) + func (a *Auth) Solo(next http.HandlerFunc) http.HandlerFunc + func (a *Auth) SoloH(next http.Handler) http.Handler