1 Star 1 Fork 0

窦雪峰 / go-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cache.go 365 Bytes
一键复制 编辑 原始数据 按行查看 历史
窦雪峰 提交于 2022-05-14 16:34 . 微信小程序
/*
* @Author: i@douxuefeng.cn
* @Date: 2022-05-14 15:59:22
* @LastEditTime: 2022-05-14 15:59:26
* @LastEditors: i@douxuefeng.cn
* @Description:
* @FilePath: \go-utils\cache\cache.go
*/
package cache
type Cache interface {
Get(key string) (string, error)
Set(key string, data string, timeout int64) error
IsExist(key string) bool
Del(key string) error
}
Go
1
https://gitee.com/douxuefeng/go-utils.git
git@gitee.com:douxuefeng/go-utils.git
douxuefeng
go-utils
go-utils
v0.2.6

搜索帮助

53164aa7 5694891 3bd8fe86 5694891