mirror of
https://github.com/net-byte/vtun
synced 2024-03-14 10:50:03 +08:00
14 lines
163 B
Go
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
|
|
}
|