net/netip.AddrPort.Port (method)
6 uses
net/netip (current package)
netip.go#L1038: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1201: lePutUint16(b[len(b)-2:], p.Port())
net
ipsock_posix.go#L210: Port: int(ap.Port()),
ipsock_posix.go#L228: 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.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. |