middleware

package
v0.0.0-...-aa33ef3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(id uuid.UUID) (string, error)

func IsAuth

func IsAuth(endpoint func(c *gin.Context, token *jwt.Token)) gin.HandlerFunc

func RateLimitHandler

func RateLimitHandler(c *gin.Context)

func RateLimitMiddleware

func RateLimitMiddleware() 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