validator

package
v0.0.0-...-e006840 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidatorSet = wire.NewSet(wire.Struct(new(Validator), "*"))

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Logger *logrus.Entry
	Redis  *redis.Client
}

func (*Validator) AbortWithError

func (v *Validator) AbortWithError(c *gin.Context, args ...any)

func (*Validator) ValidateHeaders

func (v *Validator) ValidateHeaders() gin.HandlerFunc

Jump to

Keyboard shortcuts

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