redis

package
v0.0.0-...-c18a219 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	//TypeSingle   = "single"
	TypeRing     = "ring"
	TypeSentinel = "sentinel"
	TypeCluster  = "cluster"
)
View Source
const PkgName = "auxo.db.redis"

Variables

View Source
var (
	Nil = redis.Nil
)

Functions

This section is empty.

Types

type BoolCmd

type BoolCmd = redis.BoolCmd

type Client

type Client = redis.Cmdable

func Open

func Open(name string) (Client, error)

type Cmd

type Cmd = redis.Cmd

type DurationCmd

type DurationCmd = redis.DurationCmd

type IntCmd

type IntCmd = redis.IntCmd

type Options

type Options struct {
	Type         string
	Address      []string
	Password     string
	DialTimeout  time.Duration
	ReadTimeout  time.Duration
	WriteTimeout time.Duration
	PoolSize     int
	MasterNames  []string
	Db           int
}

type Pipeliner

type Pipeliner = redis.Pipeliner

type StringCmd

type StringCmd = redis.StringCmd

Jump to

Keyboard shortcuts

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