Documentation ¶
Index ¶
- type FinishOptionFunc
- type OptionFunc
- type PlatformType
- func (_m *PlatformType) GetTraceID(ctx context.Context) string
- func (_m *PlatformType) GetTraceURL(ctx context.Context) string
- func (_m *PlatformType) StartRootSpan(ctx context.Context, operationName string, header map[string]string) tracer.Tracer
- func (_m *PlatformType) StartSpan(ctx context.Context, opName string) tracer.Tracer
- type Tracer
- func (_m *Tracer) Context() context.Context
- func (_m *Tracer) Finish(opts ...tracer.FinishOptionFunc)
- func (_m *Tracer) InjectRequestHeader(header map[string]string)
- func (_m *Tracer) Log(key string, value interface{})
- func (_m *Tracer) SetError(err error)
- func (_m *Tracer) SetTag(key string, value interface{})
- func (_m *Tracer) Tags() map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinishOptionFunc ¶ added in v1.10.6
FinishOptionFunc is an autogenerated mock type for the FinishOptionFunc type
func (*FinishOptionFunc) Execute ¶ added in v1.10.6
func (_m *FinishOptionFunc) Execute(_a0 *tracer.FinishOption)
Execute provides a mock function with given fields: _a0
type OptionFunc ¶
OptionFunc is an autogenerated mock type for the OptionFunc type
func (*OptionFunc) Execute ¶
func (_m *OptionFunc) Execute(_a0 *tracer.Option)
Execute provides a mock function with given fields: _a0
type PlatformType ¶ added in v1.9.3
PlatformType is an autogenerated mock type for the PlatformType type
func (*PlatformType) GetTraceID ¶ added in v1.10.6
func (_m *PlatformType) GetTraceID(ctx context.Context) string
GetTraceID provides a mock function with given fields: ctx
func (*PlatformType) GetTraceURL ¶ added in v1.10.6
func (_m *PlatformType) GetTraceURL(ctx context.Context) string
GetTraceURL provides a mock function with given fields: ctx
func (*PlatformType) StartRootSpan ¶ added in v1.9.3
func (_m *PlatformType) StartRootSpan(ctx context.Context, operationName string, header map[string]string) tracer.Tracer
StartRootSpan provides a mock function with given fields: ctx, operationName, header
type Tracer ¶ added in v1.10.6
Tracer is an autogenerated mock type for the Tracer type
func (*Tracer) Finish ¶ added in v1.10.6
func (_m *Tracer) Finish(opts ...tracer.FinishOptionFunc)
Finish provides a mock function with given fields: opts
func (*Tracer) InjectRequestHeader ¶ added in v1.10.6
InjectRequestHeader provides a mock function with given fields: header