Skip to content

Instantly share code, notes, and snippets.

use crate::{
domain::{Error, Unit},
service::Cache as CacheConfig,
};
use async_trait::async_trait;
use deadpool_redis::{
redis::{
cmd, from_redis_value, AsyncCommands, FromRedisValue, JsonAsyncCommands, RedisError,
RedisResult, RedisWrite, ToRedisArgs,
},