middleware

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWTAuth

func JWTAuth(c *gin.Context)

JWTAuth jwt auth middleware

func ParseHeader

func ParseHeader(c *gin.Context)

ParseHeader parse header middleware

func RequestInterceptor added in v1.3.3

func RequestInterceptor(stage *kk_stage.Stage) func(c *gin.Context)

RequestInterceptor the first middleware to intercept request

Types

This section is empty.

Jump to

Keyboard shortcuts

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