net.TCPAddr.Zone (field)
7 uses
net (current package)
ipsock.go#L266: return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
tcpsock.go#L22: Zone string // IPv6 scoped addressing zone
tcpsock.go#L33: if a.Zone != "" {
tcpsock.go#L34: return JoinHostPort(ip+"%"+a.Zone, itoa(a.Port))
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.3.2-preview. (GOOS=darwin 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. |