package
0.1.21
Repository: https://github.com/brave/go-sync.git
Documentation: pkg.go.dev

# Functions

NewCache creates a Cache wrapper with underlying redis client assigned.
NewRedisClient create a client for standalone redis or redis cluster.
NewRedisClientWithPrometheus returns an instance of the RedisClient decorated with prometheus summary metric.

# Structs

Cache is a wrapper for cache accesses.
RedisClientWithPrometheus implements RedisClient interface with all methods wrapped with Prometheus metrics.

# Interfaces

RedisClient is a wrapper to support clients for standalone redis and redis cluster.