redis

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 0

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

func (*Client) Apply

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

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