package
1.4.3
Repository: https://github.com/hduhelp/go-zero.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Cluster customizes the given Redis as a cluster.
CreateBlockingNode returns a ClosableNode.
GetScriptCache returns a ScriptCache.
New returns a Redis with given options.
NewRedisLock returns a RedisLock.
SetSlowThreshold sets the slow threshold.
WithPass customizes the given Redis with given password.
WithTLS customizes the given Redis with TLS enabled.

# Constants

ClusterType means redis cluster.
Nil is an alias of redis.Nil.
NodeType means redis node.

# Variables

ErrEmptyHost is an error that indicates no redis host is set.
ErrEmptyKey is an error that indicates no redis key is set.
ErrEmptyType is an error that indicates no redis type is set.
ErrNilNode is an error that indicates a nil redis node.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A RedisLock is a redis lock.
No description provided by the author

# Interfaces

ClosableNode interface represents a closable redis node.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author