Documentation
¶
Overview ¶
Package validator integrates go-playground/validator with Echo and normalizes validation errors into a consistent API payload shape.
The package registers project-specific tags (for example RADIUS status and port constraints) and is intended for request payload validation in admin API handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
CustomValidator is a custom Echo validator
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
Validate implements the echo.Validator interface
Click to show internal directories.
Click to hide internal directories.