Documentation ¶
Overview ¶
server package - HTTP server functionality within application routes.go - all routes within server
The server package contains all code relating to the HTTP server used within the application
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resources ¶
Struct representing the various internal resources request handlers may need to access
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Struct representing the actual http.Server and helper data
func (*Server) GetInstance ¶
GetInstance returns the internal http.Server instance of the server
Directories ¶
Path | Synopsis |
---|---|
middleware of the HTTP server The logger middleware adds logging support to every request middleware of the HTTP server middleware of the HTTP server The pre-flight middleware adds common response headers to requests middleware of the HTTP server The recovery middleware attempts to recover from panics that occur within the request execution chain middleware of the HTTP server Checks for and normalizes an API version for each request
|
middleware of the HTTP server The logger middleware adds logging support to every request middleware of the HTTP server middleware of the HTTP server The pre-flight middleware adds common response headers to requests middleware of the HTTP server The recovery middleware attempts to recover from panics that occur within the request execution chain middleware of the HTTP server Checks for and normalizes an API version for each request |
Click to show internal directories.
Click to hide internal directories.