mock

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFilter

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

MockFilter is a mock of Filter interface.

func NewMockFilter

func NewMockFilter(ctrl *gomock.Controller) *MockFilter

NewMockFilter creates a new mock instance.

func (*MockFilter) EXPECT

func (m *MockFilter) EXPECT() *MockFilterMockRecorder

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

func (*MockFilter) FulfillRequest

func (m *MockFilter) FulfillRequest(arg0 peer.ID, arg1 cid.Cid) (bool, error)

FulfillRequest mocks base method.

type MockFilterMockRecorder

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

MockFilterMockRecorder is the mock recorder for MockFilter.

func (*MockFilterMockRecorder) FulfillRequest

func (mr *MockFilterMockRecorder) FulfillRequest(arg0, arg1 interface{}) *gomock.Call

FulfillRequest indicates an expected call of FulfillRequest.

Jump to

Keyboard shortcuts

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