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 HandlerFunc ¶
func HandlerFunc(cfg *config.EndpointConfig, next gin.HandlerFunc) gin.HandlerFunc
HandlerFunc returns gin.HandlerFunc by wrapping base handler func into handler struct
func New ¶
func New(hf krakendgin.HandlerFactory) krakendgin.HandlerFactory
New returns the handlerfactory by wrapping the base handler factory with instrumentation around the open census
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.