Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option enables variadic option passing to the server on startup.
func WithStartupWG ¶
WithStartupWG allows a waitgroup to be passed in so the server can notify when its finished with startup tasks to allow a nice message to be printed to the console.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server manages the HTTP serving components
func (*Server) Mount ¶ added in v0.1.9
Mount attaches a set of routes to the subpath specified by the path argument.
Click to show internal directories.
Click to hide internal directories.