Documentation ¶
Index ¶
- Variables
- func AppendSwapInfo(info *redy.Info)
- func ExecCommand(req *Request) (*redy.Resp, error)
- func GetConfig(req *Request) (*redy.Config, error)
- func GetInfo(req *Request) (*redy.Info, error)
- func ReadConfig(file string) (*redy.Config, error)
- type Auth
- type Config
- type ConfigPropDiff
- type Info
- type Request
- type Resp
- type RespType
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotEnoughArgs error = errors.New("Not enough command arguments")
Functions ¶
func AppendSwapInfo ¶
func AppendSwapInfo(info *redy.Info)
AppendSwapInfo appends info about swap usage to basic redis info
func ExecCommand ¶
ExecCommand executes some command on redis instance
func ReadConfig ¶
ReadConfig read and parse redis config file
Types ¶
type ConfigPropDiff ¶
func GetConfigsDiff ¶
func GetConfigsDiff(fileConfig, memConfig *Config) []ConfigPropDiff
GetConfigsDiff returns difference between file and in memory configurations
Click to show internal directories.
Click to hide internal directories.