Browse Source

docs(auth): add missing logs for auth.go

Javier Provecho Fernandez 8 years ago
parent
commit
89f0acc2f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      auth.go

+ 2 - 0
auth.go

@@ -10,9 +10,11 @@ import (
 	"strconv"
 )
 
+// AuthUserKey is the cookie name for user credential in basic auth
 const AuthUserKey = "user"
 
 type (
+	// Accounts defines a key/value for user/pass list of authorized logins
 	Accounts map[string]string
 	authPair struct {
 		Value string