middleware

package
v0.0.0-...-9132bf9 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTraceMiddleware

func OpenTraceMiddleware() gin.HandlerFunc

OpenTraceMiddleware Extract header Extract

func PromMiddle

func PromMiddle() gin.HandlerFunc

PromMiddle prometheus

func RegisterEndpoint

func RegisterEndpoint(router *gin.Engine, prefix string)

RegisterEndpoint 注册推送接口

func WithTimeOut

func WithTimeOut() gin.HandlerFunc

WithTimeOut ctx超时时间

Types

This section is empty.

Jump to

Keyboard shortcuts

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