Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TCPPort ¶
func TCPPort(l NetworkListener) uint16
TCPPort of the listener address. If the listener isn't TCP, this may panic()
Types ¶
type NetworkListener ¶
A NetworkListener is a listener that looks for data on a network address. It is sometimes useful in testing to get this address so you can talk to it directly.
Click to show internal directories.
Click to hide internal directories.