redis

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisOptions

func NewRedisOptions(cfg document.Config) *redis.Options

Types

type Client

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

func NewClient

func NewClient(cfg document.Config) *Client

func (Client) GetInterface

func (client Client) GetInterface(key string, val interface{}) error

func (Client) GetOrEmptyString

func (client Client) GetOrEmptyString(key string) string

func (Client) GetString

func (client Client) GetString(key string) (string, error)

func (Client) SetInterface

func (client Client) SetInterface(key string, val interface{}) error

func (Client) SetString

func (client Client) SetString(key, val string) error

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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