Crates.io | kalgan_cache |
lib.rs | kalgan_cache |
version | 0.9.1 |
source | src |
created_at | 2022-02-20 16:45:15.734577 |
updated_at | 2022-02-24 13:59:58.355418 |
description | A wrapper for redis crate used by Kalgan Framework. |
homepage | https://kalgan.eduardocasas.com |
repository | https://github.com/eduardocasas/kalgan-cache |
max_upload_size | |
id | 535831 |
size | 7,347 |
A wrapper for redis crate used by Kalgan Framework.
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();
For further information please visit:
This crate is licensed under either of the following licenses: