mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-02-05 01:48:00 +00:00
Create folder for vless mod
This commit is contained in:
31
src/parser/vless/models.rs
Normal file
31
src/parser/vless/models.rs
Normal file
@@ -0,0 +1,31 @@
|
||||
pub struct VlessQuery {
|
||||
pub security: String,
|
||||
pub sni: String,
|
||||
pub fp: String,
|
||||
pub pbk: String,
|
||||
pub sid: String,
|
||||
pub r#type: String,
|
||||
pub flow: String,
|
||||
pub path: String,
|
||||
pub encryption: String,
|
||||
pub header_type: String,
|
||||
pub host: String,
|
||||
pub seed: String,
|
||||
pub quic_security: String,
|
||||
pub r#key: String,
|
||||
pub mode: String,
|
||||
pub service_name: String,
|
||||
pub slpn: String,
|
||||
pub spx: String,
|
||||
}
|
||||
|
||||
pub struct VlessAddress {
|
||||
pub uuid: String,
|
||||
pub address: String,
|
||||
pub port: u16,
|
||||
}
|
||||
|
||||
pub struct VlessData {
|
||||
pub query: VlessQuery,
|
||||
pub address_data: VlessAddress,
|
||||
}
|
||||
Reference in New Issue
Block a user