Retracted
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jun 3, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Address string `default:"redis-master" env:"REDIS_HOST"`
Port string `default:"6379" env:"REDIS_SERVICE_PORT"`
Password string `secret:""`
DB int `default:"0"`
Expire time.Duration `default:"5s"`
}
Config describes the requirement for redis client.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.