Documentation
¶
Overview ¶
Package redis author gmfan date 2023/3/1
Index ¶
- func Client() *redis.Client
- func Del(ctx context.Context, keys ...string) (err error)
- func Get(ctx context.Context, key string, res any) (err error)
- func InitRedis(conf Conf) (err error)
- func LoadEnvConf(c *Conf, must bool)
- func Set(ctx context.Context, key string, value any, expire int64) (err error)
- type Conf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.