redis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRtries = errors.New("retries exceeded")
	ErrNoHost = errors.New("no input host provided")

	ErrInvalidPass = "ERR invalid password"
	ErrWrongPass   = "WRONGPASS invalid username-password pair"
)

Functions

This section is empty.

Types

type REDIS

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

func New

func New(host, port string, retries, timeout int) (*REDIS, error)

func (*REDIS) AuthRetries

func (redis *REDIS) AuthRetries(user, password string) (err error)

Jump to

Keyboard shortcuts

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