middleware

package
v1.1.12-beta Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnauthorized = fmt.Errorf("invalid username or password")

Functions

func Authorization

func Authorization(c *gin.Context)

func Cors

func Cors(c *gin.Context)

func Logger

func Logger() gin.HandlerFunc

Logger returns a gin.HandlerFunc (middleware) that logs requests using zerolog.

Types

This section is empty.

Jump to

Keyboard shortcuts

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