syncmock

package
v0.0.0-...-bc03976 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package syncmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkClient

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

NetworkClient is a mock of NetworkClient interface.

func NewNetworkClient

func NewNetworkClient(ctrl *gomock.Controller) *NetworkClient

NewNetworkClient creates a new mock instance.

func (*NetworkClient) AppRequestFailed

func (m *NetworkClient) AppRequestFailed(arg0 context.Context, arg1 ids.NodeID, arg2 uint32) error

AppRequestFailed mocks base method.

func (*NetworkClient) AppResponse

func (m *NetworkClient) AppResponse(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 []byte) error

AppResponse mocks base method.

func (*NetworkClient) Connected

func (m *NetworkClient) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 *version.Application) error

Connected mocks base method.

func (*NetworkClient) Disconnected

func (m *NetworkClient) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*NetworkClient) EXPECT

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

func (*NetworkClient) Request

func (m *NetworkClient) Request(arg0 context.Context, arg1 ids.NodeID, arg2 []byte) ([]byte, error)

Request mocks base method.

func (*NetworkClient) RequestAny

func (m *NetworkClient) RequestAny(arg0 context.Context, arg1 []byte) (ids.NodeID, []byte, error)

RequestAny mocks base method.

type NetworkClientMockRecorder

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

NetworkClientMockRecorder is the mock recorder for NetworkClient.

func (*NetworkClientMockRecorder) AppRequestFailed

func (mr *NetworkClientMockRecorder) AppRequestFailed(arg0, arg1, arg2 any) *gomock.Call

AppRequestFailed indicates an expected call of AppRequestFailed.

func (*NetworkClientMockRecorder) AppResponse

func (mr *NetworkClientMockRecorder) AppResponse(arg0, arg1, arg2, arg3 any) *gomock.Call

AppResponse indicates an expected call of AppResponse.

func (*NetworkClientMockRecorder) Connected

func (mr *NetworkClientMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*NetworkClientMockRecorder) Disconnected

func (mr *NetworkClientMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*NetworkClientMockRecorder) Request

func (mr *NetworkClientMockRecorder) Request(arg0, arg1, arg2 any) *gomock.Call

Request indicates an expected call of Request.

func (*NetworkClientMockRecorder) RequestAny

func (mr *NetworkClientMockRecorder) RequestAny(arg0, arg1 any) *gomock.Call

RequestAny indicates an expected call of RequestAny.

Jump to

Keyboard shortcuts

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