Documentation ¶
Index ¶
Constants ¶
View Source
const MONITOR_MAX_OPS uint64 = 1000
Max ops per second for monitor usage
Variables ¶
View Source
var Prompt = "> "
Prompt is prompt symbol
View Source
var UseColoredPrompt = false
UseColoredPrompt enable colors in CLI prompt
Functions ¶
Types ¶
type CommandInfo ¶
CommandInfo is struct with info about command (name, params, support flag)
type Config ¶
type Config struct { ID int // Instance ID Port int // Redis port DB int // DB index User string // ACL password Password string // ACL password Command []string // Command HistoryFile string // Path to history file Timeout int // Connection timeout DisableMonitor bool // Disable MONITOR command flag RawOutput bool // Raw output flag }
Config contains cli configuration
Click to show internal directories.
Click to hide internal directories.