openkache 0.0.1

OpenKache client — 10x cheaper and faster than Redis
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! OpenKache client — SSD cache server, 10x cheaper and faster than Redis.

pub struct Client;

impl Client {
    pub fn connect(host: &str, port: u16) -> Self { Self }
    pub fn get(&self, key: &str) -> Option<Vec<u8>> { None }
    pub fn set(&self, key: &str, value: &[u8], ttl: Option<u64>) {}
    pub fn delete(&self, key: &str) -> bool { false }
    pub fn close(&self) {}
}