Documentation ¶ Index ¶ type Redis func New(options map[string]any) (redisS *Redis, err error) func (redisS *Redis) C() redis.UniversalClient func (redisS *Redis) Ping() (string, error) func (redisS *Redis) SetConfig(options map[string]any) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Redis ¶ type Redis struct { Client redis.UniversalClient Options *redis.UniversalOptions } func New ¶ func New(options map[string]any) (redisS *Redis, err error) New create new redis func (*Redis) C ¶ func (redisS *Redis) C() redis.UniversalClient C get client func (*Redis) Ping ¶ func (redisS *Redis) Ping() (string, error) func (*Redis) SetConfig ¶ func (redisS *Redis) SetConfig(options map[string]any) (err error) SetConfig set config Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.