Versions in this module Expand all Collapse all v0 v0.1.27 Apr 3, 2022 Changes in this version + const HeaderAuth + const Name + var ErrInvalidAuth = errors.New("invalid authentication") + var ErrInvalidBase64 = errors.New("invalid base64") + var ErrNoHeader = errors.New("not authorized") + type Cfg struct + Authenticate func(user, pwd string) error + Authorize func(user string, req service.Request) error + Realm string