redis

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL