Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext create new context that is injected with trace
func TraceFromContext ¶
TraceFromContext extract trace from context
Types ¶
type TraceContextKeyType ¶
type TraceContextKeyType string
const ( // TraceContextKey is a custom context key for trace TraceContextKey TraceContextKeyType = "trace.context.key" )
Click to show internal directories.
Click to hide internal directories.