middlewares

package
v0.0.0-...-1d2c3bc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthAPIKey

func AuthAPIKey(secretId string) gin.HandlerFunc

API key auth middleware

func AuthJWT

func AuthJWT(client *auth.Client) gin.HandlerFunc

Gin middleware for JWT auth

func AuthRequired

func AuthRequired() gin.HandlerFunc

func CORS

func CORS() gin.HandlerFunc

CORS middleware

func NoMethodHandler

func NoMethodHandler() gin.HandlerFunc

NoMethodHandler

func NoRouteHandler

func NoRouteHandler() gin.HandlerFunc

NoRouteHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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