Add new admin panel, failover, dns fallback, providers, limiters. Update XHTTP

This commit is contained in:
Sergei Maklagin
2026-05-11 00:59:35 +03:00
parent 652e0baf57
commit 3bd162ed6f
241 changed files with 36409 additions and 4086 deletions

View File

@@ -245,16 +245,16 @@ func (e remoteEndpoint) SrcToString() string {
}
func (e remoteEndpoint) DstToString() string {
return (netip.AddrPort)(e).String()
return netip.AddrPort(e).String()
}
func (e remoteEndpoint) DstToBytes() []byte {
b, _ := (netip.AddrPort)(e).MarshalBinary()
b, _ := netip.AddrPort(e).MarshalBinary()
return b
}
func (e remoteEndpoint) DstIP() netip.Addr {
return (netip.AddrPort)(e).Addr()
return netip.AddrPort(e).Addr()
}
func (e remoteEndpoint) SrcIP() netip.Addr {