middlewaretest

package
v1.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOnewayInbound added in v1.16.0

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

MockOnewayInbound is a mock of OnewayInbound interface

func NewMockOnewayInbound added in v1.16.0

func NewMockOnewayInbound(ctrl *gomock.Controller) *MockOnewayInbound

NewMockOnewayInbound creates a new mock instance

func (*MockOnewayInbound) EXPECT added in v1.16.0

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

func (*MockOnewayInbound) HandleOneway added in v1.16.0

func (_m *MockOnewayInbound) HandleOneway(_param0 context.Context, _param1 *transport.Request, _param2 transport.OnewayHandler) error

HandleOneway mocks base method

type MockOnewayInboundMockRecorder added in v1.16.0

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

MockOnewayInboundMockRecorder is the mock recorder for MockOnewayInbound

func (*MockOnewayInboundMockRecorder) HandleOneway added in v1.16.0

func (_mr *MockOnewayInboundMockRecorder) HandleOneway(arg0, arg1, arg2 interface{}) *gomock.Call

HandleOneway indicates an expected call of HandleOneway

type MockOnewayOutbound added in v1.16.0

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

MockOnewayOutbound is a mock of OnewayOutbound interface

func NewMockOnewayOutbound added in v1.16.0

func NewMockOnewayOutbound(ctrl *gomock.Controller) *MockOnewayOutbound

NewMockOnewayOutbound creates a new mock instance

func (*MockOnewayOutbound) CallOneway added in v1.16.0

func (_m *MockOnewayOutbound) CallOneway(_param0 context.Context, _param1 *transport.Request, _param2 transport.OnewayOutbound) (transport.Ack, error)

CallOneway mocks base method

func (*MockOnewayOutbound) EXPECT added in v1.16.0

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

type MockOnewayOutboundMockRecorder added in v1.16.0

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

MockOnewayOutboundMockRecorder is the mock recorder for MockOnewayOutbound

func (*MockOnewayOutboundMockRecorder) CallOneway added in v1.16.0

func (_mr *MockOnewayOutboundMockRecorder) CallOneway(arg0, arg1, arg2 interface{}) *gomock.Call

CallOneway indicates an expected call of CallOneway

type MockRouter

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

MockRouter is a mock of Router interface

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance

func (*MockRouter) Choose

func (_m *MockRouter) Choose(_param0 context.Context, _param1 *transport.Request, _param2 transport.Router) (transport.HandlerSpec, error)

Choose mocks base method

func (*MockRouter) EXPECT

func (_m *MockRouter) EXPECT() *MockRouterMockRecorder

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

func (*MockRouter) Procedures

func (_m *MockRouter) Procedures(_param0 transport.Router) []transport.Procedure

Procedures mocks base method

type MockRouterMockRecorder added in v1.10.0

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

MockRouterMockRecorder is the mock recorder for MockRouter

func (*MockRouterMockRecorder) Choose added in v1.10.0

func (_mr *MockRouterMockRecorder) Choose(arg0, arg1, arg2 interface{}) *gomock.Call

Choose indicates an expected call of Choose

func (*MockRouterMockRecorder) Procedures added in v1.10.0

func (_mr *MockRouterMockRecorder) Procedures(arg0 interface{}) *gomock.Call

Procedures indicates an expected call of Procedures

type MockUnaryInbound added in v1.16.0

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

MockUnaryInbound is a mock of UnaryInbound interface

func NewMockUnaryInbound added in v1.16.0

func NewMockUnaryInbound(ctrl *gomock.Controller) *MockUnaryInbound

NewMockUnaryInbound creates a new mock instance

func (*MockUnaryInbound) EXPECT added in v1.16.0

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

func (*MockUnaryInbound) Handle added in v1.16.0

func (_m *MockUnaryInbound) Handle(_param0 context.Context, _param1 *transport.Request, _param2 transport.ResponseWriter, _param3 transport.UnaryHandler) error

Handle mocks base method

type MockUnaryInboundMockRecorder added in v1.16.0

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

MockUnaryInboundMockRecorder is the mock recorder for MockUnaryInbound

func (*MockUnaryInboundMockRecorder) Handle added in v1.16.0

func (_mr *MockUnaryInboundMockRecorder) Handle(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Handle indicates an expected call of Handle

type MockUnaryOutbound added in v1.16.0

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

MockUnaryOutbound is a mock of UnaryOutbound interface

func NewMockUnaryOutbound added in v1.16.0

func NewMockUnaryOutbound(ctrl *gomock.Controller) *MockUnaryOutbound

NewMockUnaryOutbound creates a new mock instance

func (*MockUnaryOutbound) Call added in v1.16.0

Call mocks base method

func (*MockUnaryOutbound) EXPECT added in v1.16.0

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

type MockUnaryOutboundMockRecorder added in v1.16.0

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

MockUnaryOutboundMockRecorder is the mock recorder for MockUnaryOutbound

func (*MockUnaryOutboundMockRecorder) Call added in v1.16.0

func (_mr *MockUnaryOutboundMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call

Call indicates an expected call of Call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL