mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(storage): Add a separate crate to represent store implementations (#1853)
This commit is contained in:
12
crates/storage_impl/src/config.rs
Normal file
12
crates/storage_impl/src/config.rs
Normal file
@ -0,0 +1,12 @@
|
||||
use masking::Secret;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Database {
|
||||
pub username: String,
|
||||
pub password: Secret<String>,
|
||||
pub host: String,
|
||||
pub port: u16,
|
||||
pub dbname: String,
|
||||
pub pool_size: u32,
|
||||
pub connection_timeout: u64,
|
||||
}
|
||||
Reference in New Issue
Block a user