validate

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 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 any) 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