net.UDPAddr.Zone (field)
9 uses
net (current package)
ipsock.go#L274: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
tcpsock.go#L24: Zone string // IPv6 scoped addressing zone
tcpsock.go#L37: na = na.WithZone(a.Zone)
tcpsock.go#L49: if a.Zone != "" {
tcpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, itoa.Itoa(a.Port))
tcpsock.go#L105: Zone: addr.Addr().Zone(),
tcpsock_posix.go#L21: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
tcpsock_posix.go#L40: return ipToSockaddr(family, a.IP, a.Port, a.Zone)
tcpsock_posix.go#L44: return &TCPAddr{loopbackIP(net), a.Port, a.Zone}
|
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. |