redisx

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	redis.UniversalClient
	// contains filtered or unexported fields
}

Client is a redis client wrapper. Use redis.UniversalClient instead client/clusterClient since v9

func NewBuiltIn

func NewBuiltIn() *Client

NewBuiltIn return a Client through application default

func NewClient

func NewClient(cfg *conf.Configuration) (*Client, error)

func (*Client) Apply

func (c *Client) Apply(cfg *conf.Configuration) error

Apply implements the conf.Configurable interface

func (*Client) Close

func (c *Client) Close() error

Jump to

Keyboard shortcuts

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