Documentation
¶
Index ¶
- func DestoryPool(pool redis.Cmdable)
- func GetClient(serviceName string) redis.Cmdable
- func GetClusterOptionsConfig(serviceName string) *redis.ClusterOptions
- func GetOptionsConfig(serviceName string) *redis.Options
- func InitPool(serviceName string) redis.Cmdable
- func ReleaseClient(serviceName string, cmdable redis.Cmdable)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterOptionsConfig ¶
func GetClusterOptionsConfig(serviceName string) *redis.ClusterOptions
GetClusterOptionsConfig returns the redis cluster options
func GetOptionsConfig ¶
func GetOptionsConfig(serviceName string) *redis.Options
GetOptionsConfig returns the redis options
func ReleaseClient ¶
func ReleaseClient(serviceName string, cmdable redis.Cmdable)
ReleaseClient release a redis client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.