Documentation
¶
Overview ¶
Package net extends standard net package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinHostPortNum ¶
JoinHostPortNum combines host and port into a network address of the form "host:port". If host contains a colon, as found in literal IPv6 addresses, then JoinHostPort returns "[host]:port".
Types ¶
type Option ¶
Option predicates net.IP choice.
func WithGlobalUnicast ¶
func WithGlobalUnicast() Option
WithGlobalUnicast selects global unicast address.
Click to show internal directories.
Click to hide internal directories.