Documentation ¶
Index ¶
- type Method
- func (_m *Method) Arg() string
- func (_m *Method) Call(ctx context.Context, c collector.TraceCollectorClient) error
- func (_m *Method) CallSummary() string
- func (_m *Method) Message() [][]byte
- func (_m *Method) MessageLen() int64
- func (_m *Method) RequestSize() int64
- func (_m *Method) ResultCode() (collector.ResultCode, error)
- func (_m *Method) RetryOnErr(_a0 error) bool
- func (_m *Method) ServiceKey() string
- func (_m *Method) String() string
- type TraceCollectorClient
- func (_m *TraceCollectorClient) GetSettings(ctx context.Context, in *collector.SettingsRequest, opts ...grpc.CallOption) (*collector.SettingsResult, error)
- func (_m *TraceCollectorClient) Ping(ctx context.Context, in *collector.PingRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
- func (_m *TraceCollectorClient) PostEvents(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
- func (_m *TraceCollectorClient) PostMetrics(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
- func (_m *TraceCollectorClient) PostStatus(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Method ¶
Method is an autogenerated mock type for the Method type
func (*Method) CallSummary ¶
CallSummary provides a mock function with given fields:
func (*Method) MessageLen ¶
MessageLen provides a mock function with given fields:
func (*Method) RequestSize ¶
RequestSize provides a mock function with given fields:
func (*Method) ResultCode ¶
func (_m *Method) ResultCode() (collector.ResultCode, error)
ResultCode provides a mock function with given fields:
func (*Method) RetryOnErr ¶
RetryOnErr provides a mock function with given fields: _a0
func (*Method) ServiceKey ¶
ServiceKey provides a mock function with given fields:
type TraceCollectorClient ¶
TraceCollectorClient is an autogenerated mock type for the TraceCollectorClient type
func (*TraceCollectorClient) GetSettings ¶
func (_m *TraceCollectorClient) GetSettings(ctx context.Context, in *collector.SettingsRequest, opts ...grpc.CallOption) (*collector.SettingsResult, error)
GetSettings provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) Ping ¶
func (_m *TraceCollectorClient) Ping(ctx context.Context, in *collector.PingRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
Ping provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostEvents ¶
func (_m *TraceCollectorClient) PostEvents(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
PostEvents provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostMetrics ¶
func (_m *TraceCollectorClient) PostMetrics(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
PostMetrics provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostStatus ¶
func (_m *TraceCollectorClient) PostStatus(ctx context.Context, in *collector.MessageRequest, opts ...grpc.CallOption) (*collector.MessageResult, error)
PostStatus provides a mock function with given fields: ctx, in, opts