示例#1
0
文件: cache_test.go 项目: catgatp/gol
func init() {
	cache1 = cacheUint.New(true, 20*time.Second, nil)
}
示例#2
0
文件: main.go 项目: catgatp/gol
func init() {
	_cache = cacheUint.New(true, 10*time.Minute, nil)
	go_cache = gocache.New(5*time.Minute, 10*time.Minute)
}