func net/netip.AddrPortFrom
7 uses
net/netip (current package)
netip.go#L1032: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
netip.go#L1216: *p = AddrPortFrom(addr, leUint16(b[len(b)-2:]))
net
tcpsock.go#L38: return netip.AddrPortFrom(na, uint16(a.Port))
udpsock.go#L41: return netip.AddrPortFrom(na, uint16(a.Port))
udpsock_posix.go#L92: addr = netip.AddrPortFrom(ip, uint16(port))
udpsock_posix.go#L103: addr = netip.AddrPortFrom(ip, uint16(sa.Port))
udpsock_posix.go#L108: addr = netip.AddrPortFrom(ip, uint16(sa.Port))
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. |