Documentation ¶
Index ¶
- func CheckPathParams(ctx *fiber.Ctx, pathParamsName string) (ok, string, response.ResponseFactory)
- func CheckQueryParams(ctx *fiber.Ctx, queryParamStruct interface{}) (ok, response.ResponseFactory)
- func CheckReqBodySchema(ctx *fiber.Ctx, reqSchema interface{}) (ok, response.ResponseFactory)
- func CheckSchema[T comparable](ctx *fiber.Ctx, reqSchema T) (ok, response.ResponseFactory)
- func CheckUserIDJWT(ctx *fiber.Ctx, logger *slog.Logger) (string, ok, response.ResponseFactory)
- type ValidatorError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPathParams ¶
func CheckPathParams( ctx *fiber.Ctx, pathParamsName string, ) (ok, string, response.ResponseFactory)
func CheckQueryParams ¶
func CheckQueryParams( ctx *fiber.Ctx, queryParamStruct interface{}, ) (ok, response.ResponseFactory)
func CheckReqBodySchema ¶
func CheckReqBodySchema( ctx *fiber.Ctx, reqSchema interface{}, ) (ok, response.ResponseFactory)
func CheckSchema ¶
func CheckSchema[T comparable]( ctx *fiber.Ctx, reqSchema T, ) (ok, response.ResponseFactory)
func CheckUserIDJWT ¶
func CheckUserIDJWT(ctx *fiber.Ctx, logger *slog.Logger) (string, ok, response.ResponseFactory)
Types ¶
type ValidatorError ¶
func Validate ¶
func Validate(i interface{}) []ValidatorError
Click to show internal directories.
Click to hide internal directories.