Documentation
¶
Index ¶
- type BindUser
- type BindUserJwtMidOption
- func BindUserJwtMidWithBindObject[T BindUser](bindObj T) BindUserJwtMidOption[T]
- func BindUserJwtMidWithCtxKey[T BindUser](ctxKey string) BindUserJwtMidOption[T]
- func BindUserJwtMidWithMock[T BindUser]() BindUserJwtMidOption[T]
- func BindUserJwtMidWithSecret[T BindUser](secret string) BindUserJwtMidOption[T]
- type BindUserMidOption
- type GinMiddle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.