Add inbound generator

This commit is contained in:
Keivan-sf
2023-11-08 19:51:21 +03:30
parent 4dc9f385af
commit 87fa5d063e
5 changed files with 73 additions and 2 deletions

View File

@@ -136,5 +136,5 @@ pub struct Inbound {
#[derive(Serialize, Deserialize)]
pub struct Config {
pub outbounds: Vec<Outbound>,
pub inbounds: Option<Vec<Inbound>>,
pub inbounds: Vec<Inbound>,
}