release v1.2.0

This commit is contained in:
dushixiang
2021-10-31 17:15:35 +08:00
parent 4665ab6f78
commit 6132a05786
173 changed files with 37928 additions and 9349 deletions

13
server/global/cache/cache.go vendored Normal file
View File

@ -0,0 +1,13 @@
package cache
import (
"time"
"github.com/patrickmn/go-cache"
)
var GlobalCache *cache.Cache
func init() {
GlobalCache = cache.New(5*time.Minute, 10*time.Minute)
}