Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SdewanValidator ¶
type SdewanValidator struct {
// contains filtered or unexported fields
}
func GetValidator ¶
func GetValidator(name string) *SdewanValidator
func (*SdewanValidator) RegisterStructValidation ¶
func (v *SdewanValidator) RegisterStructValidation(fn validator.StructLevelFunc, types interface{})
func (*SdewanValidator) RegisterValidation ¶
func (v *SdewanValidator) RegisterValidation(tag string, fn validator.Func) error
func (*SdewanValidator) Validate ¶
func (v *SdewanValidator) Validate(data interface{}) (bool, string)
SdewanValidator
Click to show internal directories.
Click to hide internal directories.