package
Version:
v0.0.0-...-834ce46
Opens a new window with list of versions in this module.
Published: Nov 27, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New is Constructor redis Adapter.
func (a Adapter) Client() *redis.Client
Client is a method that returns the redis.Client.
type Config struct {
Host string `koanf:"host"`
Port int `koanf:"port"`
Password string `koanf:"password"`
DB int `koanf:"db"`
}
Config is config adapter redis.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.