base

package
v1.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Logger    *zap.Logger
	Validator *validator.Validate
}

func (*Handler) BodyParserValidator

func (h *Handler) BodyParserValidator(c *fiber.Ctx, out any) error

func (*Handler) ParamsParserValidator

func (h *Handler) ParamsParserValidator(c *fiber.Ctx, out any) error

func (*Handler) QueryParserValidator

func (h *Handler) QueryParserValidator(c *fiber.Ctx, out any) error

func (*Handler) ValidateStruct

func (h *Handler) ValidateStruct(out any) error

type Validatable

type Validatable interface {
	Validate() error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL