mock_svc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_svc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRequestHandler

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

MockRequestHandler is a mock of RequestHandler interface.

func NewMockRequestHandler

func NewMockRequestHandler(ctrl *gomock.Controller) *MockRequestHandler

NewMockRequestHandler creates a new mock instance.

func (*MockRequestHandler) EXPECT

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

func (*MockRequestHandler) Handle

func (m *MockRequestHandler) Handle(arg0 *svc.Request) (svc.Result, error)

Handle mocks base method.

type MockRequestHandlerMockRecorder

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

MockRequestHandlerMockRecorder is the mock recorder for MockRequestHandler.

func (*MockRequestHandlerMockRecorder) Handle

func (mr *MockRequestHandlerMockRecorder) Handle(arg0 interface{}) *gomock.Call

Handle indicates an expected call of Handle.

type MockRoundTripper

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

MockRoundTripper is a mock of RoundTripper interface.

func NewMockRoundTripper

func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper

NewMockRoundTripper creates a new mock instance.

func (*MockRoundTripper) EXPECT

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

func (*MockRoundTripper) RoundTrip

func (m *MockRoundTripper) RoundTrip(arg0 context.Context, arg1 snet.PacketConn, arg2 *snet.Packet, arg3 *net.UDPAddr) (*svc.Reply, error)

RoundTrip mocks base method.

type MockRoundTripperMockRecorder

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

MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.

func (*MockRoundTripperMockRecorder) RoundTrip

func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RoundTrip indicates an expected call of RoundTrip.

Jump to

Keyboard shortcuts

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