Directories ¶
Path | Synopsis |
---|---|
Service chiapi is an example API written in Go.
|
Service chiapi is an example API written in Go. |
handler
Package handler implements the request handlers for the API.
|
Package handler implements the request handlers for the API. |
middleware
Package middleware contains various server middleware to help with requests, including logging, instrumentation, authentication, and debugging middleware.
|
Package middleware contains various server middleware to help with requests, including logging, instrumentation, authentication, and debugging middleware. |
router
Package router is used to define the routes to our request handlers.
|
Package router is used to define the routes to our request handlers. |
server
Package server contains an HTTP server implementation that supports graceful shutdowns.
|
Package server contains an HTTP server implementation that supports graceful shutdowns. |
pkg
|
|
Click to show internal directories.
Click to hide internal directories.