middleware

package
v0.0.0-...-2438061 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MiddlewareSet = wire.NewSet(wire.Struct(new(Middleware), "*"))

Functions

This section is empty.

Types

type IMiddleware

type IMiddleware interface {
	GenOkMsg(*gin.Context, string) string
	GenErrMsg(*gin.Context, string, error) error
}

type Middleware

type Middleware struct {
	Auth         *auth.Auth
	Validator    *validator.Validator
	Tracing      *tracing.Tracing
	ReverseProxy *reverse_proxy.ReverseProxy
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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