Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the thread that connect to the remote redis server
func NewClient ¶
func NewClient(c *lib.RelayerConfig) *Client
NewClient creates a new client that connect to a Redis server
func (*Client) Exit ¶
func (clt *Client) Exit()
Exit closes the connection and destroy all the client resources
func (*Client) Reload ¶
func (clt *Client) Reload(c *lib.RelayerConfig)
Reload initialize teh configuration
type CreateFunction ¶
type CreateFunction func(*lib.RelayerConfig) *Client
type Pool ¶
Pool keep a list of clients' elements
func (*Pool) ReadConfig ¶
func (p *Pool) ReadConfig(cfg *lib.RelayerConfig)
Click to show internal directories.
Click to hide internal directories.