net.IP.To16 (method)
7 uses
net (current package)
cgo_unix.go#L291: if ip6 := ip.To16(); ip6 != nil {
ip.go#L228: func (ip IP) To16() IP {
ip.go#L374: return ip.To4() != nil && x.To4() != nil || ip.To16() != nil && ip.To4() == nil && x.To16() != nil && x.To4() == nil
ipsock_posix.go#L199: ip6 := ip.To16()
lookup.go#L310: return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
net/http
socks_bundle.go#L96: } else if ip6 := ip.To16(); ip6 != nil {
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |