net/netip.Addr.WithZone (method)
8 uses
net/netip (current package)
netip.go#L222: return IPv6Unspecified().WithZone(zone), nil
netip.go#L333: return AddrFrom16(ip).WithZone(zone), nil
netip.go#L481: func (ip Addr) WithZone(zone string) Addr {
netip.go#L1018: *ip = AddrFrom16([16]byte(b[:16])).WithZone(string(b[16:]))
net
tcpsock.go#L37: na = na.WithZone(a.Zone)
udpsock.go#L40: na = na.WithZone(a.Zone)
udpsock_posix.go#L87: ip = netip.AddrFrom16(from.Addr).WithZone(zoneCache.name(int(from.ZoneId)))
udpsock_posix.go#L107: ip := netip.AddrFrom16(sa.Addr).WithZone(zoneCache.name(int(sa.ZoneId)))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |