net/netip.AddrPort.Port (method)
8 uses
net/netip (current package)
netip.go#L1081: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1160: return cmp.Compare(p.Port(), p2.Port())
netip.go#L1258: return byteorder.LEAppendUint16(b, p.Port()), nil
net
ipsock_posix.go#L250: Port: int(ap.Port()),
ipsock_posix.go#L265: Port: int(ap.Port()),
tcpsock.go#L106: Port: int(addr.Port()),
udpsock.go#L106: Port: int(addr.Port()),
![]() |
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. |