Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RadixRedisClient ¶
type RadixRedisClient struct {
*radix.Pool
}
RadixRedisClient - Redis client
var ( // Client - Redis client Client *RadixRedisClient OutboundClient *RadixRedisClient )
func NewRadixRedisClient ¶
func NewRadixRedisClient() (*RadixRedisClient, error)
NewRadixRedisClient - Return a redis client
func NewRadixRedisClientUsingCustomHostPort ¶
func NewRadixRedisClientUsingCustomHostPort(host, port string) (*RadixRedisClient, error)
NewRadixRedisClient - Return a redis client
func NewRadixRedisPool ¶
func NewRadixRedisPool(size int, opts ...radix.PoolOpt) (*RadixRedisClient, error)
NewRadixRedisClient - Return a redis client
Click to show internal directories.
Click to hide internal directories.