1 Star 1 Fork 0

go-wena/app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
redis.go 385 Bytes
一键复制 编辑 原始数据 按行查看 历史
k3x 提交于 2021-06-04 14:09 . init
package app
import (
"context"
"gitee.com/go-wena/app/internal/redis"
)
var Redis = &redisService{}
type redisService struct{}
func (s *redisService) Get(ctx context.Context) redis.Connection {
return redis.Get(ctx)
}
func (s *redisService) GetStats() redis.Stats {
return redis.GetStats()
}
func (s *redisService) Ping(ctx context.Context) error {
return redis.Ping(ctx)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-wena/app.git
git@gitee.com:go-wena/app.git
go-wena
app
app
v0.0.11

搜索帮助