middleware

package
v0.0.0-...-2ff8efa Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authmiddleware

func Authmiddleware(secret string, db *gorm.DB, cache cache.Cacher) gin.HandlerFunc

func Cors

func Cors() gin.HandlerFunc

func SecurityMiddleware

func SecurityMiddleware() gin.HandlerFunc

func TimeoutMiddleware

func TimeoutMiddleware(timeout time.Duration) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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