Documentation
¶
Index ¶
- Variables
- func ApidocMiddlewareInit(e *gin.Engine)
- func AuthInit(e *gin.Engine)
- func AuthMiddleware() gin.HandlerFunc
- func ExceptionInit(e *gin.Engine)
- func ExceptionMiddleware() gin.HandlerFunc
- func HeaderMiddleware() gin.HandlerFunc
- func HeaderMiddlewareInit(e *gin.Engine)
- func LoggerInit(e *gin.Engine, file string)
- func NewTracer(jaegerAddr string, serviceName string)
- func ResponseMiddleware() gin.HandlerFunc
- func ResponseMiddlewareInit(e *gin.Engine)
- func TracerHandler(component string, kind string, c *gin.Context, rootSpan bool, ...)
- func TracerInit(e *gin.Engine, jaegerAddr string, serviceName string)
- func TracerMiddleware() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var TracerCloser *io.Closer
View Source
var TracerCommon *opentracing.Tracer
Functions ¶
func ApidocMiddlewareInit ¶
func AuthMiddleware ¶
func AuthMiddleware() gin.HandlerFunc
func ExceptionInit ¶
func ExceptionMiddleware ¶
func ExceptionMiddleware() gin.HandlerFunc
func HeaderMiddleware ¶
func HeaderMiddleware() gin.HandlerFunc
func LoggerInit ¶
func ResponseMiddleware ¶
func ResponseMiddleware() gin.HandlerFunc
func ResponseMiddlewareInit ¶
global response middleware init
func TracerHandler ¶
func TracerMiddleware ¶
func TracerMiddleware() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.