net/netip.Addr.String (method, view implemented interface methods)
12 uses
net/netip (current package)
netip.go#L755: func (ip Addr) String() string {
netip.go#L912: return ip.String()
netip.go#L1125: return joinHostPort(p.ip.String(), itoa.Itoa(int(p.port)))
netip.go#L1481: return p.ip.String() + "/" + itoa.Itoa(p.Bits())
net
cgo_unix.go#L239: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}
hosts.go#L23: return ip.String()
ip.go#L305: return netip.AddrFrom4([4]byte(p4)).String()
ip.go#L307: return netip.AddrFrom16([16]byte(ip)).String()
ipsock_posix.go#L206: return syscall.SockaddrInet4{}, &AddrError{Err: "non-IPv4 address", Addr: addr.String()}
ipsock_posix.go#L224: return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: addr.String()}
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. |