middleware

package
v0.0.0-...-d140a6e Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticTokenMiddleware

func AuthenticTokenMiddleware() gin.HandlerFunc

AuthenticTokenMiddleware 路由中间件.加载请求链路追踪标识 /**

func CommunicateLogMiddleware

func CommunicateLogMiddleware() gin.HandlerFunc

CommunicateLogMiddleware 记录通讯请求与响应报文日志 TODO.SDK*/

func RequestTraceIdMiddleware

func RequestTraceIdMiddleware() gin.HandlerFunc

RequestTraceIdMiddleware 路由中间件.加载请求链路追踪标识 /**

func SSEEventStreamMiddleware

func SSEEventStreamMiddleware() gin.HandlerFunc

SSEEventStreamMiddleware 设置内容头部为SSE

func StdHandle

func StdHandle(handler interface{}) func(*gin.Context)

StdHandle 统一标准化注册路由处理控制器 所有控制器处理函数务必统一调用绑定 /**

Types

This section is empty.

Jump to

Keyboard shortcuts

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