middleware

package
v0.0.0-...-c61f402 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AuthHeaderToken

func AuthHeaderToken(ctx *gin.Context) string

Types

type AuthMiddleware

type AuthMiddleware struct {
}

func NewAuthMiddleware

func NewAuthMiddleware() *AuthMiddleware

func (*AuthMiddleware) Auth

func (a *AuthMiddleware) Auth() gin.HandlerFunc

type Middleware

type Middleware struct {
	AuthMiddleware *AuthMiddleware
}

Jump to

Keyboard shortcuts

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