kalgan_cache

Crates.iokalgan_cache
lib.rskalgan_cache
version0.9.1
sourcesrc
created_at2022-02-20 16:45:15.734577
updated_at2022-02-24 13:59:58.355418
descriptionA wrapper for redis crate used by Kalgan Framework.
homepagehttps://kalgan.eduardocasas.com
repositoryhttps://github.com/eduardocasas/kalgan-cache
max_upload_size
id535831
size7,347
Eduardo Casas (eduardocasas)

documentation

README

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:

Commit count: 8

cargo fmt