vtun/common/cache/cache.go
2022-03-20 21:36:07 +08:00

14 lines
163 B
Go

package cache
import (
"time"
"github.com/patrickmn/go-cache"
)
var c = cache.New(30*time.Minute, 10*time.Minute)
func GetCache() *cache.Cache {
return c
}