Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface {
// ListenAndServe forever listens to new incoming connections and
// handles data from those connections.
ListenAndServe() error
// Close closes the server.
Close()
}
Server is a server capable of listening to incoming traffic and closing itself when it's shut down.
Click to show internal directories.
Click to hide internal directories.