net/netip.Addr.AsSlice (method)
10 uses
net/netip (current package)
netip.go#L724: func (ip Addr) AsSlice() []byte {
net
addrselect.go#L339: aAsSlice := a.AsSlice()
cgo_unix.go#L251: sa, salen := cgoSockaddr(IP(ip.AsSlice()), ip.Zone())
iprawsock.go#L36: IP: addr.AsSlice(),
lookup.go#L311: return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
tcpsock.go#L104: IP: addr.Addr().AsSlice(),
udpsock.go#L104: IP: addr.Addr().AsSlice(),
golang.org/x/net/proxy
per_host.go#L62: ip := net.IP(nip.AsSlice())
per_host.go#L114: p.AddIP(net.IP(nip.AsSlice()))
vendor/golang.org/x/net/http/httpproxy
proxy.go#L184: ip = net.IP(nip.AsSlice())
![]() |
The pages are generated with Golds v0.8.4. (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. |