Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinScheme ¶
JoinScheme joins scheme, hsot and port.
func Listen ¶
Listen installs a listener on the specified address.
If the address string starts with "tcp:", the rest is interpreted as [address]:port on which to open a TCP listening socket. TCP keep-alive is enabled in this case.
If the address string starts with "unix:", the rest is interpreted the path to a UNIX domain socket to listen on.
If neither prefix is present, "tcp:" is assumed.
Types ¶
Click to show internal directories.
Click to hide internal directories.