Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
func (*Base) BodyParserValidator ¶
BodyParserValidator parses the request body and validates the resulting object. It returns an error if parsing or validation fails.
func (*Base) HeaderParserValidator ¶
HeaderParserValidator parses the request headers and validates the resulting object. It returns an error if parsing or validation fails.
The header is bound from the "header" struct tag, the Fiber v3 name for the tag Fiber v2 read as "reqHeader".
func (*Base) ParamParserValidator ¶
ParamParserValidator parses the request parameters and validates the resulting object. It returns an error if parsing or validation fails.
The route parameter is bound from the "uri" struct tag, the Fiber v3 name for the tag Fiber v2 read as "params".