// onAppStart后调用 func InitMemcache() { client = memcache.New("localhost:11211") }
func NewMemcachedCache(hostList []string, defaultExpiration time.Duration) MemcachedCache { return MemcachedCache{memcache.New(hostList...), defaultExpiration} }