Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module provided to fxlog // https://uber-go.github.io/fx/modules.html Module = fx.Module( "redisfx", redisProviders, redisInvokes, ) //nolint:gochecknoglobals )
Functions ¶
func NewRedisClient ¶
func NewRedisClient(cfg *RedisOptions) *redis.Client
func NewRedisHealthChecker ¶
Types ¶
type RedisHealthChecker ¶
type RedisHealthChecker struct {
// contains filtered or unexported fields
}
func (*RedisHealthChecker) CheckHealth ¶
func (healthChecker *RedisHealthChecker) CheckHealth(ctx context.Context) error
func (*RedisHealthChecker) GetHealthName ¶
func (healthChecker *RedisHealthChecker) GetHealthName() string
Click to show internal directories.
Click to hide internal directories.