第三方api接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 rivejä
232 B

  1. package comm
  2. import "time"
  3. // GetCacheFunc 获取缓存委托
  4. type getCacheFunc func(cacheKey string) []byte
  5. // SetCacheFunc 设置缓存委托
  6. type setCacheFunc func(cacheKey string, value []byte, expiration time.Duration) bool