Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address interface { Network() string Host() string Port() string String() string HostPort() string }
func GetFreeAddr ¶
GetFreeAddr asks the kernel for a free open port that is ready to use.
type TCPAddress ¶
func (TCPAddress) Host ¶
func (T TCPAddress) Host() string
func (TCPAddress) HostPort ¶
func (T TCPAddress) HostPort() string
func (TCPAddress) Port ¶
func (T TCPAddress) Port() string
func (TCPAddress) String ¶
func (T TCPAddress) String() string
func (TCPAddress) Underlying ¶
func (T TCPAddress) Underlying() net.Addr
Click to show internal directories.
Click to hide internal directories.