middlewares

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomMiddleware

type CustomMiddleware struct {
	Config      *configs.Config
	Application *applications.Application
	RouteList   map[string]map[string]string
}

func NewCustomMiddleware

func NewCustomMiddleware(cfg *configs.Config, app *applications.Application) *CustomMiddleware

func (*CustomMiddleware) NoCache

func (cm *CustomMiddleware) NoCache(next echo.HandlerFunc) echo.HandlerFunc

func (*CustomMiddleware) ServiceKeyCheck

func (cm *CustomMiddleware) ServiceKeyCheck(next echo.HandlerFunc) echo.HandlerFunc

func (*CustomMiddleware) SetRequestID

func (cm *CustomMiddleware) SetRequestID(next echo.HandlerFunc) echo.HandlerFunc

func (*CustomMiddleware) SetRouteList

func (cm *CustomMiddleware) SetRouteList(routes []*echo.Route) map[string]map[string]string

func (*CustomMiddleware) SignatureCheck

func (cm *CustomMiddleware) SignatureCheck(next echo.HandlerFunc) echo.HandlerFunc

Jump to

Keyboard shortcuts

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