disque-cli
Disque CLI.
Build
&& &&
Run
More help:
Use as a crate
extern crate disque_cli;
// exports:
use ;
Value, encode_slice, Decoder
Re-exports from the https://github.com/iorust/resp
fn create_client(host: &str, port: u16, password: &str) -> io::Result<Client>
let mut client = create_client.expect;
client.cmd.unwrap;
Client
impl Client
fn new<A: ToSocketAddrs>(addrs: A) -> Self
let mut client = new;
fn cmd(&mut self, slice: &[&str]) -> Result<Value>
client.cmd.unwrap; // Value::String("hello!")
fn read_more(&mut self) -> Result<Value>
Some commands will have one more replies. This method use to read them.
client.read_more.unwrap;
COMMANDS
https://github.com/iorust/disque-cli/blob/master/src/command.rs