middleware

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckProject added in v0.12.0

func CheckProject(svc project.Service) echo.MiddlewareFunc

CheckProject is a middleware that will verify if the project used for the request exists.

func HandleError added in v0.25.0

func HandleError() echo.MiddlewareFunc

Types

type Proxy

type Proxy struct {
	Dashboard    dashboard.DAO
	Secret       secret.DAO
	GlobalSecret globalsecret.DAO
	DTS          datasource.DAO
	GlobalDTS    globaldatasource.DAO
	Crypto       crypto.Crypto
}

func (*Proxy) Proxy added in v0.40.0

func (e *Proxy) Proxy() echo.MiddlewareFunc

Jump to

Keyboard shortcuts

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