Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFetcher ¶
type MockFetcher struct {
FetchFunc func(ctx context.Context, request types.RetrievalRequest, cb func(types.RetrievalEvent)) (*types.RetrievalStats, error)
}
func NewMockFetcher ¶
func NewMockFetcher() *MockFetcher
func (*MockFetcher) Fetch ¶
func (m *MockFetcher) Fetch(ctx context.Context, request types.RetrievalRequest, opt ...types.FetchOption) (*types.RetrievalStats, error)
Click to show internal directories.
Click to hide internal directories.