mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
Improve config model names
This commit is contained in:
@@ -10,7 +10,7 @@ pub struct VnextUser {
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct VlessServerObject {
|
||||
pub struct VnextServerObject {
|
||||
pub address: Option<String>,
|
||||
pub port: Option<u16>,
|
||||
pub users: Option<Vec<VnextUser>>,
|
||||
@@ -26,12 +26,12 @@ pub struct TrojanServerObject {
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct VlessOutboundSettings {
|
||||
pub vnext: Vec<VlessServerObject>,
|
||||
pub vnext: Vec<VnextServerObject>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct VmessOutboundSettings {
|
||||
pub vnext: Vec<VlessServerObject>,
|
||||
pub vnext: Vec<VnextServerObject>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user