This commit is contained in:
2025-10-17 18:13:49 +11:00
parent be656cca57
commit 1e8a79c2d2
21 changed files with 186 additions and 132 deletions

View File

@@ -3,9 +3,9 @@ package proxy
// https://github.com/MetaCubeX/mihomo/blob/Meta/adapter/outbound/vmess.go
type Vmess struct {
Server string `yaml:"server"`
Port int `yaml:"port"`
Port IntOrString `yaml:"port"`
UUID string `yaml:"uuid"`
AlterID int `yaml:"alterId"`
AlterID IntOrString `yaml:"alterId"`
Cipher string `yaml:"cipher"`
UDP bool `yaml:"udp,omitempty"`
Network string `yaml:"network,omitempty"`