Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpError ¶
Types ¶
type Config ¶
type Config struct {
// Filter defines a function to skip middleware.
// Optional. Default: nil
Filter func(*fiber.Ctx) bool
// Custom error handler
// Optional. Default: nil
Handler func(*fiber.Ctx, error, func(...interface{}))
// Log all errors to output
// Optional. Default: false
Log bool
// Output is a writer where logs are written
// Default: os.Stderr
Output io.Writer
// Use c.Render for content-type html
// Optional. Default: false
UseTemplate bool
}
Config ...
Click to show internal directories.
Click to hide internal directories.