middleware

package
v0.0.0-...-0b41048 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(l *zerolog.Logger, authen *auth.Auth, strictCookie bool) gin.HandlerFunc

Auth guards against unauthorized incoming request

func CORS

func CORS(environ *env.ENV) gin.HandlerFunc

CORS attaches cors middleware to http engine

func Secure

func Secure(environ *env.ENV) gin.HandlerFunc

Secure attaches secure tls middleware to http engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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