Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init initializes logging and tracing for the given service. Call this before using logging or tracing. The notrace flag will disable tracing.
func NewContextHandler ¶
NewContextHandler returns an http.Handler which implements tracing and context middleware.
func NewInstrumentedHTTPClient ¶
NewInstrumentedHTTPClient returns an http.Client that is instrumented for tracing and will propagate context values as request headers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.