mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-09-19 20:15:59 +08:00
chore: restful api displays more information
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 11s
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 11s
This commit is contained in:
@ -163,10 +163,14 @@ func (p *Proxy) MarshalJSON() ([]byte, error) {
|
||||
mapping["alive"] = p.alive.Load()
|
||||
mapping["name"] = p.Name()
|
||||
mapping["udp"] = p.SupportUDP()
|
||||
mapping["uot"] = p.SupportUOT()
|
||||
mapping["xudp"] = p.SupportXUDP()
|
||||
mapping["tfo"] = p.SupportTFO()
|
||||
mapping["mptcp"] = p.SupportMPTCP()
|
||||
mapping["smux"] = p.SupportSMUX()
|
||||
mapping["interface"] = p.SupportInterface()
|
||||
mapping["dialer-proxy"] = p.SupportDialerProxy()
|
||||
mapping["routing-mark"] = p.SupportRoutingMark()
|
||||
return json.Marshal(mapping)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user