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 MockFetcher ¶
type MockFetcher struct {
// contains filtered or unexported fields
}
MockFetcher is a mock of Fetcher interface
func NewMockFetcher ¶
func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher
NewMockFetcher creates a new mock instance
func (*MockFetcher) EXPECT ¶
func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFetcher) FetchBlock ¶
FetchBlock mocks base method
func (*MockFetcher) FetchBlocks ¶
func (m *MockFetcher) FetchBlocks(ctx context.Context, from uint64, handleFunc func(ariadne.Block) error, opts ...ariadne.FetchBlocksOption) error
FetchBlocks mocks base method
type MockFetcherMockRecorder ¶
type MockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFetcherMockRecorder is the mock recorder for MockFetcher
func (*MockFetcherMockRecorder) FetchBlock ¶
func (mr *MockFetcherMockRecorder) FetchBlock(ctx, height interface{}) *gomock.Call
FetchBlock indicates an expected call of FetchBlock
func (*MockFetcherMockRecorder) FetchBlocks ¶
func (mr *MockFetcherMockRecorder) FetchBlocks(ctx, from, handleFunc interface{}, opts ...interface{}) *gomock.Call
FetchBlocks indicates an expected call of FetchBlocks
Click to show internal directories.
Click to hide internal directories.