Documentation ¶
Index ¶
- func EnumValueValidator(enumList []string) validator.String
- func NewListValidator(desc string, ...) validator.List
- func NewMapValidator(desc string, ...) validator.Map
- func NewObjectValidator(desc string, ...) validator.Object
- func NewStringValidator(desc string, ...) validator.String
- func NotEmptyMapValidator() validator.Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnumValueValidator ¶
func NewListValidator ¶
func NewListValidator(desc string, validator func(ctx context.Context, req validator.ListRequest, resp *validator.ListResponse)) validator.List
func NewMapValidator ¶
func NewMapValidator(desc string, validator func(ctx context.Context, req validator.MapRequest, resp *validator.MapResponse)) validator.Map
func NewObjectValidator ¶
func NewObjectValidator(desc string, validator func(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse)) validator.Object
func NewStringValidator ¶
func NewStringValidator(desc string, validator func(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)) validator.String
func NotEmptyMapValidator ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.