net/netip.AddrPort.Addr (method)
10 uses
net/netip (current package)
netip.go#L1035: func (p AddrPort) Addr() Addr { return p.ip }
netip.go#L1200: b := p.Addr().marshalBinaryWithTrailingBytes(2)
net
ipsock_posix.go#L204: addr := ap.Addr()
ipsock_posix.go#L222: addr := ap.Addr()
tcpsock.go#L104: IP: addr.Addr().AsSlice(),
tcpsock.go#L105: Zone: addr.Addr().Zone(),
udpsock.go#L107: IP: addr.Addr().AsSlice(),
udpsock.go#L108: Zone: addr.Addr().Zone(),
udpsock_posix.go#L161: return 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
udpsock_posix.go#L201: return 0, 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
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. |