Discover Packages
github.com/kaleofeng/gometazion
pkg
redis
package
Version:
v0.0.0-...-ace9e8d
Opens a new window with list of versions in this module.
Published: Aug 4, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Aide provides redis api wrapper.
Close close a connection.
func (aide *Aide ) Do(commandName string , args ...interface{}) (reply interface{}, err error )
Do execute a command.
type Config struct {
Password string `yaml:"password"`
Network string `yaml:"network"`
Server string `yaml:"server"`
Port int `yaml:"port"`
Database int `yaml:"database"`
}
Config represents redis config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.