Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option provides options for configuring the creation of a http server.
func WithLogger ¶
WithLogger will add logging to the http server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an HTTP server to serve HTTP requests.
func New ¶
New creates an HTTP server with a default handler and has not started to accept requests yet.
Click to show internal directories.
Click to hide internal directories.