request

package
v0.0.0-...-28f24a1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRequest

type IRequest interface {
	ValidateRequest(ctx *gin.Context) *customError.CustomError
	ValidateAuth(ctx *gin.Context) *customError.CustomError
}

type ReqValidator

type ReqValidator struct {
}
var Validator *ReqValidator

func (*ReqValidator) Validate

func (validator *ReqValidator) Validate(ctx *gin.Context, request IRequest) (bool, *customError.CustomError)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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