Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrServerClosed = errors.New("tcp: Server closed") ErrAbortHandler = errors.New("tcp: abort TCPHandler") ServerContextKey = &contextKey{"tcp-server"} LocalAddrContextKey = &contextKey{"local-addr"} )
Functions ¶
func ListenAndServe ¶
func ListenAndServe(addr string, handler TCPHandler) error
Types ¶
Click to show internal directories.
Click to hide internal directories.