Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotTCP 只支持tcp ErrNotTCP = errors.New("only tcp connections have keepalive") )
Functions ¶
func LimitListener ¶
LimitListener returns a Listener that accepts at most n simultaneous connections from the provided Listener.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.