Documentation
¶
Index ¶
- func BindJSON[T any](c fiber.Ctx) (T, error)
- func ErrHandler() fiber.ErrorHandler
- func MiddlewareCtxTimeout(dur time.Duration) fiber.Handler
- func MiddlewareLogger() fiber.Handler
- func SendBadRequest(err error) error
- func SendUnprocessable(err error) error
- func StatusFromContext(c fiber.Ctx, err error) int
- func WithSwagger(app *fiber.App, openapiSpec []byte)
- type StructValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrHandler ¶
func ErrHandler() fiber.ErrorHandler
func MiddlewareLogger ¶
func SendBadRequest ¶
func SendUnprocessable ¶
func WithSwagger ¶
Types ¶
type StructValidator ¶
func NewDefaultStructValidator ¶
func NewDefaultStructValidator() *StructValidator
func (*StructValidator) Validate ¶
func (v *StructValidator) Validate(out any) error
Click to show internal directories.
Click to hide internal directories.