middleware

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

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler() gin.HandlerFunc

func Logger

func Logger() gin.HandlerFunc

func RequestTimeout

func RequestTimeout(cfg *config.Config) gin.HandlerFunc

Types

type AuthMiddleware

type AuthMiddleware struct {
	// contains filtered or unexported fields
}

func NewAuthMiddleware

func NewAuthMiddleware(jwtUtil jwtutils.JwtUtil) *AuthMiddleware

func (*AuthMiddleware) Authorization

func (m *AuthMiddleware) Authorization() gin.HandlerFunc

Jump to

Keyboard shortcuts

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