validate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validator

func Validator(vd IValidator) middleware.Middleware

Validator is a validator middleware.

Types

type IValidator

type IValidator interface {
	Validate(ctx context.Context, rq interface{}) error
}

IValidator defines methods to implement a custom validator.

Jump to

Keyboard shortcuts

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