feat: add adapter

This commit is contained in:
weloe
2023-05-04 22:15:55 +08:00
parent 915624b205
commit a5652cd390
8 changed files with 455 additions and 3 deletions

View File

@@ -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
)