manager

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClientManager

type RedisClientManager struct {
	// contains filtered or unexported fields
}

func NewRedisClientManager

func NewRedisClientManager(addr, username, password string, db int, logger logger.Logger) *RedisClientManager

func (*RedisClientManager) CloseAll

func (r *RedisClientManager) CloseAll() error

func (*RedisClientManager) GetClient

func (r *RedisClientManager) GetClient(addr, password string, db int) *redis.Client

func (*RedisClientManager) IsHealthy

func (r *RedisClientManager) IsHealthy(key string) bool

func (*RedisClientManager) Key

func (r *RedisClientManager) Key(addr string, db int) string

func (*RedisClientManager) StartPeriodicHealthCheck

func (r *RedisClientManager) StartPeriodicHealthCheck(ctx context.Context)

type RedisConnectionInfo

type RedisConnectionInfo struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL