Documentation ¶
Index ¶
- type SampleServiceClient
- func (_m *SampleServiceClient) Echo(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
- func (_m *SampleServiceClient) Echox(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
- func (_m *SampleServiceClient) RaiseError(ctx context.Context, in *wrapperspb.UInt32Value, opts ...grpc.CallOption) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleServiceClient ¶
SampleServiceClient is an autogenerated mock type for the SampleServiceClient type
func NewSampleServiceClient ¶
func NewSampleServiceClient(t mockConstructorTestingTNewSampleServiceClient) *SampleServiceClient
NewSampleServiceClient creates a new instance of SampleServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SampleServiceClient) Echo ¶
func (_m *SampleServiceClient) Echo(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
Echo provides a mock function with given fields: ctx, in, opts
func (*SampleServiceClient) Echox ¶
func (_m *SampleServiceClient) Echox(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
Echox provides a mock function with given fields: ctx, in, opts
func (*SampleServiceClient) RaiseError ¶
func (_m *SampleServiceClient) RaiseError(ctx context.Context, in *wrapperspb.UInt32Value, opts ...grpc.CallOption) (*emptypb.Empty, error)
RaiseError provides a mock function with given fields: ctx, in, opts
Click to show internal directories.
Click to hide internal directories.