mid

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 8 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 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 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