Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Stack ¶
type Stack interface {
// Adds a middleware to the stack. MWs will be called in the same order that they are added, such that:
// Use(Request ID Middleware)
// Use(Request Timing Middleware)
// would result in the request id middleware being the outermost layer, called first, before the timing middleware.
Use(Middleware)
// Wraps a given handle with the current stack from the result of Use() calls.
Wrap(http.Handler) http.Handler
}
Stack ...
Click to show internal directories.
Click to hide internal directories.