gin

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSessionUser

func GetSessionUser(ctx *gin.Context) (*model.SessionUser, error)

Types

type AuthInterceptor

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

func NewAuthInterceptor

func NewAuthInterceptor() *AuthInterceptor

func NewAuthInterceptorWithCustomParser

func NewAuthInterceptorWithCustomParser(jwtToken itbasisJwtToken.JwtToken) *AuthInterceptor

func (*AuthInterceptor) AuthHandler

func (receiver *AuthInterceptor) AuthHandler() gin.HandlerFunc

Jump to

Keyboard shortcuts

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