rust-memcache
Memcached client for rust.
Usage
// create connection
let mut conn = connect.unwrap;
// flush the database
conn.flush.unwrap;
// set a string value with expire time
conn.set.unwrap;
// retrie from memcached
let value: String = conn.get.unwrap;
assert!;
// set a int value with immortal expire
conn.set.unwrap;
// retire it as i32
let value: i32 = conn.get.unwrap;
assert!;
TODO
- Ascii protocal
- Binary protocal
- Multi server support
- Typed interface
- Documents
License
MIT