Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Listener ¶
Listener wraps net.Listener to support closing Fiber context on connection close.
func Middleware ¶
Middleware changes the default behavior of Fiber/FastHTTP context. Once the connection is closed, context will also be closed (in default Fiber/FastHTTP context is closed only on server shutdown).
Note: Only fiber.Ctx.Context will be properly closed.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option options.
func WithUserContext ¶
func WithUserContext() Option
WithUserContext keeps user context as base context. Default uses FastHTTP's context.
Click to show internal directories.
Click to hide internal directories.