ocypod 0.8.0

Ocypod is a Redis-backed service for orchestrating background jobs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Defines server state, typically passed to HTTP handlers by Actix web as required.

use deadpool_redis::Pool;

use crate::application::RedisManager;

pub struct ApplicationState {
    pub pool: Pool,
    pub config: crate::config::Config,
    pub redis_manager: RedisManager,
}