test_bitswap

package
v0.1.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Overview

Package test_bitswap is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExchange

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

MockExchange is a mock of Exchange interface.

func NewMockExchange

func NewMockExchange(ctrl *gomock.Controller) *MockExchange

NewMockExchange creates a new mock instance.

func (*MockExchange) EXPECT

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

func (*MockExchange) GetBlock

func (m *MockExchange) GetBlock(arg0 context.Context, arg1 cid.Cid) (blocks.Block, error)

GetBlock mocks base method.

type MockExchangeMockRecorder

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

MockExchangeMockRecorder is the mock recorder for MockExchange.

func (*MockExchangeMockRecorder) GetBlock

func (mr *MockExchangeMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock.

Jump to

Keyboard shortcuts

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