forked from mirror/gin
docs(auth): add missing logs for auth.go
This commit is contained in:
parent
1923b35983
commit
89f0acc2f8
2
auth.go
2
auth.go
|
@ -10,9 +10,11 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// AuthUserKey is the cookie name for user credential in basic auth
|
||||||
const AuthUserKey = "user"
|
const AuthUserKey = "user"
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
// Accounts defines a key/value for user/pass list of authorized logins
|
||||||
Accounts map[string]string
|
Accounts map[string]string
|
||||||
authPair struct {
|
authPair struct {
|
||||||
Value string
|
Value string
|
||||||
|
|
Loading…
Reference in New Issue