package
1.3.3
Repository: https://github.com/mockybang/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.
No description provided by the author
WithPass customizes the given Redis with given password.
WithPoolSize customizes the given Redis with given PoolSize.
WithPoolTimeout customizes the given Redis with given PoolTimeout.
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