Versions in this module Expand all Collapse all v1 v1.0.0 Nov 30, 2021 Changes in this version + func GetBaseConfig(c framework.Container) *contract.RedisConfig + func NewHadeRedis(params ...interface{}) (interface{}, error) + func WithConfigPath(configPath string) contract.RedisOption + func WithRedisConfig(f func(options *contract.RedisConfig)) contract.RedisOption + type HadeRedis struct + func (app *HadeRedis) GetClient(option ...contract.RedisOption) (*redis.Client, error) + type RedisProvider struct + func (h *RedisProvider) Boot(container framework.Container) error + func (h *RedisProvider) IsDefer() bool + func (h *RedisProvider) Name() string + func (h *RedisProvider) Params(container framework.Container) []interface{} + func (h *RedisProvider) Register(container framework.Container) framework.NewInstance