Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StoppableListener ¶
type StoppableListener struct { net.Listener Stop chan bool // Any message to this channel will gracefully stop the server Stopped bool // True if the server was stopped gracefully ConnCount counter // Number of active client connections }
StoppableListener - stoppable listener for testing purposes
Click to show internal directories.
Click to hide internal directories.