POSTGRES_SESSION_STORE_NEW

Constant POSTGRES_SESSION_STORE_NEW 

Source
pub const POSTGRES_SESSION_STORE_NEW: Constructor;
Expand description

A handle to add PostgresSessionStore::new() as a constructor to your Pavex application.

§Example

use pavex::Blueprint;
// [...]
// ^ Import `POSTGRES_SESSION_STORE_NEW` here

let mut bp = Blueprint::new();
// Add `PostgresSessionStore::new()` as a constructor to your application.
bp.constructor(POSTGRES_SESSION_STORE_NEW);