Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContextKey is a key for context value of span ContextKey string = "opencensus-span" )
Variables ¶
This section is empty.
Functions ¶
func Trace ¶
func Trace() gin.HandlerFunc
Trace defines the middleware for gin that wraps around the handler and creates span
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.