middlewares

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: EUPL-1.2 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCSPHeaderValue = "default-src 'self'; img-src 'self' https://girlthi.ng https://cuties.zip https://ity.pet; script-src 'self'"

Variables

This section is empty.

Functions

func BuildOauthCallbackHandlerGin

func BuildOauthCallbackHandlerGin(authClient *auth.Client) gin.HandlerFunc

func BuildStartLoginHandlerGin

func BuildStartLoginHandlerGin(authClient *auth.Client) gin.HandlerFunc

func RateLimiter

func RateLimiter(globalCtx context.Context) gin.HandlerFunc

func SecurityHeaders

func SecurityHeaders() 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
⌂ 换网址