Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotStarted = errors.New("server not running")
ErrNotRunning is an error returned by (*Server).Shutdown() if the server was not started yet.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Addr string
// contains filtered or unexported fields
}
Server is a type representing an HTTP server.
Click to show internal directories.
Click to hide internal directories.