Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + const DefaultBasicAuthRealm + var DefaultExpireTime time.Time + func Default(users map[string]string) context.Handler + func New(c Config) context.Handler + type Config struct + Expires time.Duration + OnAsk context.Handler + Realm string + Users map[string]string + func DefaultConfig() Config + func (c Config) User(ctx context.Context) (string, string, bool)