This section is empty.


This section is empty.


This section is empty.


type MockClient

type MockClient struct {
	// contains filtered or unexported fields

    MockClient implements a gomock-compatible mock client for service ExtendEmpty.

    func NewMockClient

    func NewMockClient(ctrl *gomock.Controller) *MockClient

      Build a new mock client for service ExtendEmpty.

      mockCtrl := gomock.NewController(t)
      client := extendemptytest.NewMockClient(mockCtrl)

      Use EXPECT() to set expectations on the mock.

      func (*MockClient) EXPECT

      func (m *MockClient) EXPECT() *_MockClientRecorder

        EXPECT returns an object that allows you to define an expectation on the ExtendEmpty mock client.

        func (*MockClient) Hello

        func (m *MockClient) Hello(
        	ctx context.Context,
        	opts ...yarpc.CallOption,
        ) (err error)

          Hello responds to a Hello call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.

          client.EXPECT().Hello(gomock.Any(), ...).Return(...)
          ... := client.Hello(...)

          Source Files