fix: reorder metadata

This commit is contained in:
wwqgtxx 2022-12-06 08:23:30 +08:00
parent 3b96d54369
commit f7fb5840cf

View File

@ -125,15 +125,15 @@ type Metadata struct {
DstPort string `json:"destinationPort"` DstPort string `json:"destinationPort"`
InIP netip.Addr `json:"inboundIP"` InIP netip.Addr `json:"inboundIP"`
InPort string `json:"inboundPort"` InPort string `json:"inboundPort"`
InName string `json:"inboundName"`
Host string `json:"host"` Host string `json:"host"`
DNSMode DNSMode `json:"dnsMode"` DNSMode DNSMode `json:"dnsMode"`
Uid *uint32 `json:"uid"` Uid *uint32 `json:"uid"`
Process string `json:"process"` Process string `json:"process"`
ProcessPath string `json:"processPath"` ProcessPath string `json:"processPath"`
SpecialProxy string `json:"specialProxy"` SpecialProxy string `json:"specialProxy"`
RemoteDst string `json:"remoteDestination"`
InName string `json:"inboundName"`
SpecialRules string `json:"specialRules"` SpecialRules string `json:"specialRules"`
RemoteDst string `json:"remoteDestination"`
} }
func (m *Metadata) RemoteAddress() string { func (m *Metadata) RemoteAddress() string {