update docs

This commit is contained in:
aler9
2020-09-13 16:41:36 +02:00
parent 45cf5562de
commit 6625f87773

View File

@@ -38,7 +38,7 @@ type AuthServer struct {
} }
// NewAuthServer allocates an AuthServer. // NewAuthServer allocates an AuthServer.
// If methods is nil, Basic and Digest authentications are used. // If methods is nil, the Basic and Digest methods are used.
func NewAuthServer(user string, pass string, methods []AuthMethod) *AuthServer { func NewAuthServer(user string, pass string, methods []AuthMethod) *AuthServer {
if methods == nil { if methods == nil {
methods = []AuthMethod{Basic, Digest} methods = []AuthMethod{Basic, Digest}