validation

package
v0.0.0-...-48d3ca6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL