Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResNewLine = "\r\n" ResNil = "$-1" + ResNewLine ResMsgOK = "+OK" + ResNewLine ResMsgSuccess = ":1" + ResNewLine ResMsgFailure = ":0" + ResNewLine )
View Source
const ( CmdCOMMAND = "COMMAND" CmdPING = "PING" CmdKEYS = "KEYS" CmdSET = "SET" CmdGET = "GET" CmdDEL = "DEL" CmdINFO = "INFO" CmdCONFIG = "CONFIG" CmdSAVE = "SAVE" CmdQUIT = "QUIT" CmdFLUSHALL = "FLUSHALL" CmdClient = "CLIENT" CmdSLAVEOF = "SLAVEOF" CmdAUTH = "AUTH" CmdHELP = "HELP" )
Variables ¶
This section is empty.
Functions ¶
func IsImplemented ¶
func StartServer ¶
func StartServer(host string, repo Repository)
Types ¶
type Command ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.