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: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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