use lazy_static::lazy_static;
use super::YourCache;
lazy_static! {
pub static ref RS_CACHE_3600S: YourCache::<String> = YourCache::build(3600, 5 * 1024 * 1024);
}
pub fn put3600s(cache_key: &str, value: &str) {
RS_CACHE_3600S.put(cache_key, value.to_string());
}
pub fn get3600s(cache_key: &str) -> Option<String> {
RS_CACHE_3600S.get(cache_key)
}
pub fn exists3600s(cache_key: &str) -> bool {
RS_CACHE_3600S.exists(cache_key)
}