This commit is contained in:
2025-08-23 05:20:42 +02:00
parent 3850df89be
commit a1127b72da
2 changed files with 2 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ async fn main() {
// new DB option
let option = herodb::options::DBOption {
dir: args.dir,
port,
debug: args.debug,
encryption_key: args.encryption_key,
encrypt: args.encrypt,

View File

@@ -7,6 +7,7 @@ pub enum BackendType {
#[derive(Debug, Clone)]
pub struct DBOption {
pub dir: String,
pub port: u16,
pub debug: bool,
pub encrypt: bool,
pub encryption_key: Option<String>,