mid

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindUser added in v1.7.0

type BindUser interface {
	IsEmpty() bool
}

type BindUserJwtMidOption added in v1.7.2

type BindUserJwtMidOption[T BindUser] func(*bindUserJwtMiddle[T])

func BindUserJwtMidWithBindObject added in v1.7.2

func BindUserJwtMidWithBindObject[T BindUser](bindObj T) BindUserJwtMidOption[T]

func BindUserJwtMidWithCtxKey added in v1.7.2

func BindUserJwtMidWithCtxKey[T BindUser](ctxKey string) BindUserJwtMidOption[T]

func BindUserJwtMidWithMock added in v1.7.2

func BindUserJwtMidWithMock[T BindUser]() BindUserJwtMidOption[T]

func BindUserJwtMidWithSecret added in v1.7.2

func BindUserJwtMidWithSecret[T BindUser](secret string) BindUserJwtMidOption[T]

type BindUserMidOption added in v1.7.0

type BindUserMidOption[T BindUser] func(*bindUserMiddle[T])

func BindUserMidWithBindObject added in v1.7.0

func BindUserMidWithBindObject[T BindUser](bindObj T) BindUserMidOption[T]

func BindUserMidWithCtxKey added in v1.7.0

func BindUserMidWithCtxKey[T BindUser](ctxKey string) BindUserMidOption[T]

type GinMiddle

type GinMiddle interface {
	errors.ApiErrorHandler
	Handler() gin.HandlerFunc
}

func NewGinBindUserJwtMid added in v1.7.2

func NewGinBindUserJwtMid[T BindUser](opts ...BindUserJwtMidOption[T]) GinMiddle

func NewGinBindUserMid added in v1.7.0

func NewGinBindUserMid[T BindUser](opts ...BindUserMidOption[T]) GinMiddle

func NewGinDebugMid

func NewGinDebugMid() GinMiddle

func NewGinMiddle added in v1.2.1

func NewGinMiddle(handler gin.HandlerFunc) GinMiddle

Jump to

Keyboard shortcuts

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