Documentation ¶
Overview ¶
Package downloadermocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockDownloader ¶
type MockBlockDownloader struct {
// contains filtered or unexported fields
}
MockBlockDownloader is a mock of BlockDownloader interface.
func NewMockBlockDownloader ¶
func NewMockBlockDownloader(ctrl *gomock.Controller) *MockBlockDownloader
NewMockBlockDownloader creates a new mock instance.
func (*MockBlockDownloader) Download ¶
func (m *MockBlockDownloader) Download(arg0 context.Context, arg1 *chainstorage.BlockFile) (*chainstorage.Block, error)
Download mocks base method.
func (*MockBlockDownloader) EXPECT ¶
func (m *MockBlockDownloader) EXPECT() *MockBlockDownloaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBlockDownloaderMockRecorder ¶
type MockBlockDownloaderMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockDownloaderMockRecorder is the mock recorder for MockBlockDownloader.
Click to show internal directories.
Click to hide internal directories.