Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct { *stoppableListener.StoppableListener ReadTimeout time.Duration WriteTimeout time.Duration }
Listener wraps a net.Listener, and gives a place to store the timeout parameters. On Accept, it will wrap the net.Conn with our own Conn for us.
func NewListener ¶
Click to show internal directories.
Click to hide internal directories.