thriftrw: go.uber.org/thriftrw/internal/envelope/envelopetest Index | Files

package envelopetest

import "go.uber.org/thriftrw/internal/envelope/envelopetest"

Package envelopetest is a generated GoMock package.

Package envelopetest is a generated GoMock package.

Index

Package Files

client.go gen.go server.go

type MockClient Uses

type MockClient struct {
    // contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) Send Uses

func (m *MockClient) Send(name string, body wire.Value) (wire.Value, error)

Send mocks base method

type MockClientMockRecorder Uses

type MockClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Send Uses

func (mr *MockClientMockRecorder) Send(name, body interface{}) *gomock.Call

Send indicates an expected call of Send

type MockHandler Uses

type MockHandler struct {
    // contains filtered or unexported fields
}

MockHandler is a mock of Handler interface

func NewMockHandler Uses

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) EXPECT Uses

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHandler) Handle Uses

func (m *MockHandler) Handle(name string, body wire.Value) (wire.Value, error)

Handle mocks base method

type MockHandlerMockRecorder Uses

type MockHandlerMockRecorder struct {
    // contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) Handle Uses

func (mr *MockHandlerMockRecorder) Handle(name, body interface{}) *gomock.Call

Handle indicates an expected call of Handle

type MockTransport Uses

type MockTransport struct {
    // contains filtered or unexported fields
}

MockTransport is a mock of Transport interface

func NewMockTransport Uses

func NewMockTransport(ctrl *gomock.Controller) *MockTransport

NewMockTransport creates a new mock instance

func (*MockTransport) EXPECT Uses

func (m *MockTransport) EXPECT() *MockTransportMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransport) Send Uses

func (m *MockTransport) Send(arg0 []byte) ([]byte, error)

Send mocks base method

type MockTransportMockRecorder Uses

type MockTransportMockRecorder struct {
    // contains filtered or unexported fields
}

MockTransportMockRecorder is the mock recorder for MockTransport

func (*MockTransportMockRecorder) Send Uses

func (mr *MockTransportMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

Package envelopetest imports 3 packages (graph). Updated 2020-01-25. Refresh now. Tools for package owners.