replace xnet.Transport by xnet.Pipe

This commit is contained in:
ginuerzh
2025-07-28 20:52:15 +08:00
parent 35a049fb03
commit 208d18125c
52 changed files with 468 additions and 104 deletions
-4
View File
@@ -193,7 +193,3 @@ func (r *IPRange) Parse(s string) error {
func (r *IPRange) Contains(addr netip.Addr) bool {
return !(addr.Less(r.Min) || r.Max.Less(addr))
}
type ClientAddr interface {
ClientAddr() net.Addr
}