mirror of
https://github.com/weloe/token-go.git
synced 2025-10-22 06:59:37 +08:00
feat: add adapter
This commit is contained in:
@@ -7,3 +7,18 @@ const (
|
||||
SetCookie = "Set-Cookie"
|
||||
)
|
||||
|
||||
// persist timeout constant variable
|
||||
const (
|
||||
// NeverExpire does not expire
|
||||
NeverExpire int64 = -1
|
||||
// NotValueExpire does not exist
|
||||
NotValueExpire int64 = -2
|
||||
)
|
||||
|
||||
const (
|
||||
TokenName = "tokenGo"
|
||||
)
|
||||
|
||||
const (
|
||||
BeReplaced int = -4
|
||||
)
|
||||
|
Reference in New Issue
Block a user