Documentation ¶
Index ¶
- type MockSpan
- func (m *MockSpan) Finish(perr *error)
- func (m *MockSpan) Follow(serviceName string, operationName string) trace.Trace
- func (m *MockSpan) Fork(serviceName string, operationName string) trace.Trace
- func (m *MockSpan) SetLog(logs ...trace.LogField) trace.Trace
- func (m *MockSpan) SetTag(tags ...trace.Tag) trace.Trace
- func (m *MockSpan) SetTitle(title string)
- func (m *MockSpan) TraceID() string
- func (m *MockSpan) Visit(fn func(k, v string))
- type MockTrace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSpan ¶
type MockSpan struct { *MockTrace OperationName string FinishErr error Finished bool Tags []trace.Tag Logs []trace.LogField }
MockSpan .
Click to show internal directories.
Click to hide internal directories.