Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶ added in v1.2.7
type Builder interface { Build(name string) (ITracer, error) Name() string AddOption(opt interface{}) AddFactory(strategy string, factory SpanFactory) }
Builder tracer build
type ISpan ¶ added in v1.2.7
type ISpan interface { Begin(ctx interface{}) End(ctx interface{}) }
ISpan span interface
type ITracer ¶ added in v1.2.7
type ITracer interface { module.IModule GetSpan(strategy string) (ISpan, error) GetTracing() interface{} }
ITracer tracer interface
type SpanFactory ¶ added in v1.2.7
SpanFactory span 工厂
Click to show internal directories.
Click to hide internal directories.