package
0.0.0-20240110154452-01b2730fb713
Repository: https://github.com/truststaking/mx-chain-notifier-go.git
Documentation: pkg.go.dev

# Functions

CreateFailoverClient will create a redis client for a redis setup with sentinel.
CreateSimpleClient will create a redis client for a redis setup with one instance.
NewRedisClientWrapper creates a wrapper over redis client instance.
NewRedlockWrapper create a new redLock based on a cache instance.

# Variables

ErrNilRedlockClient signals that a nil redlock client has been provided.
ErrRedisConnectionFailed signals that connection to redis failed.
ErrZeroValueReceived signals that a zero value has been received.

# Structs

No description provided by the author

# Interfaces

LockService defines the behaviour of a lock service component.
RedLockClient defines the behaviour of a cache handler component.