func Iterate() string { cmd := command.Command{} cmd.Argc = 1 cmd.Args = []string{"iterate"} value := SendCommand(conn, cmd) return value }
func Incr(key string) string { cmd := command.Command{} cmd.Argc = 2 cmd.Args = []string{"incr", key} value := SendCommand(conn, cmd) return value }
func Set(key string, value string) string { cmd := command.Command{} cmd.Argc = 3 cmd.Args = []string{"set", key, value} response := SendCommand(conn, cmd) return response }