middleware

package
v0.0.0-...-ecc908a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(
	authIntr *authentication.Interactor,
) echo.MiddlewareFunc

func Authorization

func Authorization(authorizeIntr *authorization.Interactor,
	actions ...entity.Action,
) echo.MiddlewareFunc

func CORS

func CORS(config configs.CORS) echo.MiddlewareFunc

func CheckIsValidUserID

func CheckIsValidUserID(next echo.HandlerFunc) echo.HandlerFunc

func Logger

func Logger(app *bootstrap.Application, excludePath string) echo.MiddlewareFunc

func Secure

func Secure() echo.MiddlewareFunc

func Timeout

func Timeout(timeout time.Duration) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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