fix: reorder metadata
This commit is contained in:
parent
3b96d54369
commit
f7fb5840cf
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue