mocks

package
v1.7.0-alpha.1-nomain Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockstreamRequester

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

MockstreamRequester is a mock of streamRequester interface.

func NewMockstreamRequester

func NewMockstreamRequester(ctrl *gomock.Controller) *MockstreamRequester

NewMockstreamRequester creates a new mock instance.

func (*MockstreamRequester) EXPECT

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

func (*MockstreamRequester) StreamRequest

func (m *MockstreamRequester) StreamRequest(arg0 context.Context, arg1 p2p.Peer, arg2 []byte, arg3 server.StreamRequestCallback, arg4 ...string) error

StreamRequest mocks base method.

type MockstreamRequesterMockRecorder

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

MockstreamRequesterMockRecorder is the mock recorder for MockstreamRequester.

func (*MockstreamRequesterMockRecorder) StreamRequest

func (mr *MockstreamRequesterMockRecorder) StreamRequest(arg0, arg1, arg2, arg3 any, arg4 ...any) *MockstreamRequesterStreamRequestCall

StreamRequest indicates an expected call of StreamRequest.

type MockstreamRequesterStreamRequestCall

type MockstreamRequesterStreamRequestCall struct {
	*gomock.Call
}

MockstreamRequesterStreamRequestCall wrap *gomock.Call

func (*MockstreamRequesterStreamRequestCall) Do

Do rewrite *gomock.Call.Do

func (*MockstreamRequesterStreamRequestCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockstreamRequesterStreamRequestCall) Return

Return rewrite *gomock.Call.Return

type Mockverifier

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

Mockverifier is a mock of verifier interface.

func NewMockverifier

func NewMockverifier(ctrl *gomock.Controller) *Mockverifier

NewMockverifier creates a new mock instance.

func (*Mockverifier) EXPECT

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

func (*Mockverifier) Verify

func (m *Mockverifier) Verify(arg0 signing.Domain, arg1 types.NodeID, arg2 []byte, arg3 types.EdSignature) bool

Verify mocks base method.

type MockverifierMockRecorder

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

MockverifierMockRecorder is the mock recorder for Mockverifier.

func (*MockverifierMockRecorder) Verify

func (mr *MockverifierMockRecorder) Verify(arg0, arg1, arg2, arg3 any) *MockverifierVerifyCall

Verify indicates an expected call of Verify.

type MockverifierVerifyCall

type MockverifierVerifyCall struct {
	*gomock.Call
}

MockverifierVerifyCall wrap *gomock.Call

func (*MockverifierVerifyCall) Do

Do rewrite *gomock.Call.Do

func (*MockverifierVerifyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockverifierVerifyCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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