soph_redis/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod config;
pub mod error;
pub mod support;

pub type RedisResult<T, E = error::Error> = Result<T, E>;

#[derive(Clone)]
pub struct Redis {
    pool: bb8_redis::bb8::Pool<bb8_redis::RedisConnectionManager>,
}

// re-export
pub use soph_core::*;