handlers

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"handlers",
	fx.Provide(
		http.AsRootHandler(newRootHandler),
		http.AsApiHandler(newThirdPartyHandler),
		http.AsApiHandler(newMobileHandler),
	),
)

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

Jump to

Keyboard shortcuts

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