소스 검색

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

Javier Provecho Fernandez 9 년 전
부모
커밋
89f0acc2f8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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