v1.0.0
This commit is contained in:
commit
211c3071dc
245 files changed
+39293
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package cUserToken
|
||||
|
||||
import (
|
||||
"sun-panel/global"
|
||||
"sun-panel/lib/cache"
|
||||
|
||||
"time"
|
||||
)
|
||||
|
||||
func InitCUserToken() cache.Cacher[string] {
|
||||
return global.NewCache[string](72*time.Hour, 48*time.Hour, "CUserToken")
|
||||
}
|
||||
|
||||
// func InitVerifyCodeCachePool() {
|
||||
// global.VerifyCodeCachePool = cache.NewGoCache(10*time.Minute, 60*time.Second)
|
||||
// }
|
||||
Reference in new issue
Block a user