feat: unify trojan transport & add ss2022 related config (#465)

This commit is contained in:
M1Screw
2023-10-04 10:44:45 +08:00
committed by GitHub
parent 5fe18e020d
commit 71aba0601e
2 changed files with 6 additions and 10 deletions

View File

@@ -21,11 +21,7 @@ type CustomConfig struct {
OffsetPortNode string `json:"offset_port_node"`
ServerSub string `json:"server_sub"`
Host string `json:"host"`
MuPort string `json:"mu_port"`
MuEncryption string `json:"mu_encryption"`
MuProtocol string `json:"mu_protocol"`
MuObfs string `json:"mu_obfs"`
MuSuffix string `json:"mu_suffix"`
Method string `json:"method"`
V2Port string `json:"v2_port"`
TLS string `json:"tls"`
EnableVless string `json:"enable_vless"`
@@ -38,7 +34,6 @@ type CustomConfig struct {
Header json.RawMessage `json:"header"`
TrojanPort string `json:"trojan_port"`
AllowInsecure string `json:"allow_insecure"`
Grpc string `json:"grpc"`
Servicename string `json:"servicename"`
EnableXtls string `json:"enable_xtls"`
Flow string `json:"flow"`