redis_client

package
v1.1.4-alpha12 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(client *Client) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(address string, userName string, password string, db int) (*Client, error)

func (*Client) Get

func (client *Client) Get(key string) (any, error)

func (*Client) GetMulti

func (client *Client) GetMulti(keys []string) (map[string]any, error)

func (*Client) Set

func (client *Client) Set(key string, value any, expireSec int64) error

Jump to

Keyboard shortcuts

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