#cache #redis #data

kalgan_cache

A wrapper for redis crate used by Kalgan Framework

2 releases

0.9.1 Feb 24, 2022
0.9.0 Feb 20, 2022

#279 in Caching


Used in kalgan

MIT/Apache

6KB
60 lines

kalgan-cache

A wrapper for redis crate used by Kalgan Framework.

Examples

use kalgan_cache::Cache;
let cache: Cache = Cache::new(env::var("REDIS_SERVER").unwrap().to_string());
cache.insert("key", "value");
cache.delete("key");
cache.exists("key");
let key: String = cache.get("key").unwrap();

Documentation

For further information please visit:

License

This crate is licensed under either of the following licenses:


lib.rs:

A wrapper for redis crate.

Dependencies

~3–4.5MB
~112K SLoC