Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("key not exists") ErrEmptyKey = errors.New("empty key") )
Functions ¶
This section is empty.
Types ¶
type BRedis ¶
type BRedis interface { Get(key string) (string, error) Set(key string, val string) error Delete(key string) error }
func NewLockBRedis ¶
func NewLockBRedis() BRedis
func NewRealRedisBRedis ¶
func NewRealRedisBRedis() BRedis
func NewSingleCoreBRedis ¶
func NewSingleCoreBRedis() BRedis
func NewSyncMapBRedis ¶
func NewSyncMapBRedis() BRedis
Click to show internal directories.
Click to hide internal directories.