Documentation ¶ Index ¶ Variables func MustOpenRedis(conf config.Config, lf *log.LoggerFactory) *redis.Client func OnStop(r Redis) error type Redis func NewRedis(conf config.Config, lf *log.LoggerFactory) *Redis func (r Redis) HealthCheck() error Constants ¶ This section is empty. Variables ¶ View Source var Module = fx.Provide(fx.Annotate(NewRedis, fx.OnStop(OnStop))) Functions ¶ func MustOpenRedis ¶ func MustOpenRedis(conf config.Config, lf *log.LoggerFactory) *redis.Client func OnStop ¶ func OnStop(r Redis) error Types ¶ type Redis ¶ type Redis struct { Client *redis.Client } func NewRedis ¶ func NewRedis(conf config.Config, lf *log.LoggerFactory) *Redis func (Redis) HealthCheck ¶ func (r Redis) HealthCheck() error Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.