Directories ¶
Path | Synopsis |
---|---|
The package ctx defines how keys in a *http.Request.Context should behave and a way for storing and retrieving those keys for wider use in the application.
|
The package ctx defines how keys in a *http.Request.Context should behave and a way for storing and retrieving those keys for wider use in the application. |
Package main provides a toy example use of Trails' http stack.
|
Package main provides a toy example use of Trails' http stack. |
The middleware package defines what a middleware is in trails and a set of basic middlewares.
|
The middleware package defines what a middleware is in trails and a set of basic middlewares. |
Package resp provides a high-level API for responding to HTTP requests.
|
Package resp provides a high-level API for responding to HTTP requests. |
Package router defines what an HTTP server is and a default implementation of it.
|
Package router defines what an HTTP server is and a default implementation of it. |
templatetest
Package templatetest exposes a mock fs.FS that implements basic file operations.
|
Package templatetest exposes a mock fs.FS that implements basic file operations. |
Click to show internal directories.
Click to hide internal directories.