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 ¶ added in v0.3.3
func SendUnprocessable ¶ added in v0.3.3
func WithSwagger ¶ added in v0.3.4
Types ¶
type StructValidator ¶ added in v0.3.1
func NewDefaultStructValidator ¶ added in v0.3.2
func NewDefaultStructValidator() *StructValidator
func (*StructValidator) Validate ¶ added in v0.3.1
func (v *StructValidator) Validate(out any) error
Click to show internal directories.
Click to hide internal directories.