Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoValidator ¶
type EchoValidator struct {
// contains filtered or unexported fields
}
func NewEchoValidator ¶
func NewEchoValidator() *EchoValidator
func (*EchoValidator) AddRule ¶
func (e *EchoValidator) AddRule(rule Rule) error
func (*EchoValidator) Validate ¶
func (e *EchoValidator) Validate(i interface{}) error
type ValidateError ¶
func NewValidateError ¶
func NewValidateError() *ValidateError
func NewValidateErrorWithMessage ¶
func NewValidateErrorWithMessage(key, message string) *ValidateError
func (*ValidateError) Error ¶
func (e *ValidateError) Error() string
Click to show internal directories.
Click to hide internal directories.