package
0.0.2
Repository: https://github.com/wangtaoking1/app-base.git
Documentation: pkg.go.dev

# Functions

HashKey return hash the give string and return.
HashStr return hash the give string and return.
InitInstance initialize the redis cluster client.
NewOptions create a new redis options instance.
NewStore returns a new redis store with the global singleton redis client.
TokenHashAlgo ...
TokenOrg ...
WithKeyHash enables key hashing.
WithKeyPrefix sets the key-prefix.

# Constants

B64JSONPrefix stand for `{"` in base64.
No description provided by the author

# Variables

ErrKeyNotFound is a standard error for when a key is not found in the storage engine.

# Structs

Options defines options for redis cluster.
TLSOptions contains configuration for TLS.

# Interfaces

Store is the store interface of redis engine.

# Type aliases

Option config redis store.