middleware

package
v0.0.0-...-a408947 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RateLimiter

func RateLimiter(onAnonymousOnly bool) func(c *gin.Context)

func SetUpLimiter

func SetUpLimiter()

func StructuredLogger

func StructuredLogger() gin.HandlerFunc

StructuredLogger logs a gin HTTP request in JSON format. Allows to set the logger for testing purposes.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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