net.IP.To16 (method)
8 uses
net (current package)
cgo_unix.go#L290: if ip6 := ip.To16(); ip6 != nil {
ip.go#L227: func (ip IP) To16() IP {
ip.go#L373: return ip.To4() != nil && x.To4() != nil || ip.To16() != nil && ip.To4() == nil && x.To16() != nil && x.To4() == nil
ipsock_posix.go#L174: ip6 := ip.To16()
lookup.go#L300: return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
net/http
socks_bundle.go#L96: } else if ip6 := ip.To16(); ip6 != nil {
golang.org/x/net/internal/socks
client.go#L90: } else if ip6 := ip.To16(); ip6 != nil {
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. |