Documentation ¶
Index ¶
- Constants
- Variables
- func Atoi(b []byte) (int, error)
- func BytesToString(b []byte) string
- func GetCommandGroups() []string
- func ParseFloat(b []byte, bitSize int) (float64, error)
- func ParseInt(b []byte, base int, bitSize int) (int64, error)
- func ParseUint(b []byte, base int, bitSize int) (uint64, error)
- func StringToBytes(s string) []byte
- type CommandHelp
Constants ¶
View Source
const ( Version = "1.0.0" ShellTitle = "Redis client" CmdUsage = "redis-cli" CmdShort = "redis client to connect and manage server" CmdLong = "" CmdExample = `` /* 501-byte string literal not displayed */ ShellHelp = CmdUsage + " " + Version + ` To get help about Redis commands type: "help @all" to get all commands "help @<group>" to get a list of commands in <group> "help <command>" for help on <command> "help <tab>" to get a list of possible help topics "quit" to exit To set redis-cli preferences: ":set hints" enable online hints ":set nohints" disable online hints Set your preferences in ~/.redisclientrc ` ShellHelpAll = "@all" )
Variables ¶
View Source
var CmdHelpMap = makeCmdHelpMap()
View Source
var CmdHelps = GetCommandHelps()
View Source
var CmdSuggests = createCmdSuggests()
View Source
var LocalHelpCmdSuggests = createHelpLocalCmdSuggests()
Functions ¶
func BytesToString ¶
func GetCommandGroups ¶
func GetCommandGroups() []string
func StringToBytes ¶
Types ¶
type CommandHelp ¶
func GetCommandHelps ¶
func GetCommandHelps() []CommandHelp
Click to show internal directories.
Click to hide internal directories.