net/netip.AddrPort.Port (method)
8 uses
net/netip (current package)
netip.go#L1068: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1147: return cmp.Compare(p.Port(), p2.Port())
netip.go#L1236: byteorder.LePutUint16(b[len(b)-2:], p.Port())
net
ipsock_posix.go#L246: Port: int(ap.Port()),
ipsock_posix.go#L264: Port: int(ap.Port()),
tcpsock.go#L106: Port: int(addr.Port()),
udpsock.go#L109: Port: int(addr.Port()),
![]() |
The pages are generated with Golds v0.7.6. (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. |