rpc start

This commit is contained in:
withchao
2023-02-13 17:44:22 +08:00
parent f3d43f8578
commit 048d4b83e1
5 changed files with 207 additions and 113 deletions
+6
View File
@@ -50,6 +50,12 @@ type Cache interface {
// native redis operate
func NewRedis() *RedisClient {
o := &RedisClient{}
o.InitRedis()
return o
}
type RedisClient struct {
rdb redis.UniversalClient
}