예제 #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)
}