Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contextx ¶
Contextx extends google's context to support logging methods.
func Background ¶
func Background() Contextx
Background returns a non-nil, empty Contextx. It is never canceled, has no values, and has no deadline. Deprecated: Use WithContext instead.
func StartSpan ¶
func StartSpan(c context.Context, spanName string, opts ...trace.SpanStartOption) (Contextx, trace.Span)
StartSpan starts a new span with the given name and options.
func WithContext ¶
WithContext returns a copy of parent in which the context is set to ctx.
Click to show internal directories.
Click to hide internal directories.