Documentation
¶
Index ¶
- type Launch
- type RedisPool
- func (*RedisPool) Clean()
- func (my *RedisPool) Close(key string) error
- func (*RedisPool) Get(clientName, key string) (string, error)
- func (*RedisPool) GetClient(key string) (string, *rds.Client)
- func (*RedisPool) Once(redisSetting *RedisSetting) *RedisPool
- func (*RedisPool) Set(clientName, key string, val any, exp time.Duration) (string, error)
- type RedisSetting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Launch ¶ added in v1.34.0
type Launch struct { Setting RedisSetting Pool RedisPool }
var APP Launch
type RedisPool ¶
type RedisPool struct {
// contains filtered or unexported fields
}
func (*RedisPool) Once ¶
func (*RedisPool) Once(redisSetting *RedisSetting) *RedisPool
Click to show internal directories.
Click to hide internal directories.