package
Version:
v0.0.0-...-ac4703f
Opens a new window with list of versions in this module.
Published: Feb 8, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewRedis(c *Config) *redis.Client
NewRedis new a redis client
type Config struct {
Password string `toml:"password"`
Host string `toml:"host"`
Port int `toml:"port"`
DB int `toml:"db"`
}
Config .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.