mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContentFetcher

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

MockContentFetcher is a mock of ContentFetcher interface

func NewMockContentFetcher

func NewMockContentFetcher(ctrl *gomock.Controller) *MockContentFetcher

NewMockContentFetcher creates a new mock instance

func (*MockContentFetcher) Cleanup

func (m *MockContentFetcher) Cleanup()

Cleanup mocks base method

func (*MockContentFetcher) EXPECT

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

func (*MockContentFetcher) Fetch

func (m *MockContentFetcher) Fetch(target *source.SearchTarget) error

Fetch mocks base method

func (*MockContentFetcher) FetchUrl

func (m *MockContentFetcher) FetchUrl(url string) error

FetchUrl mocks base method

func (*MockContentFetcher) Post

func (m *MockContentFetcher) Post(url string, data url.Values, log bool) error

Post mocks base method

type MockContentFetcherMockRecorder

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

MockContentFetcherMockRecorder is the mock recorder for MockContentFetcher

func (*MockContentFetcherMockRecorder) Cleanup

Cleanup indicates an expected call of Cleanup

func (*MockContentFetcherMockRecorder) Fetch

func (mr *MockContentFetcherMockRecorder) Fetch(target interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockContentFetcherMockRecorder) FetchUrl

func (mr *MockContentFetcherMockRecorder) FetchUrl(url interface{}) *gomock.Call

FetchUrl indicates an expected call of FetchUrl

func (*MockContentFetcherMockRecorder) Post

func (mr *MockContentFetcherMockRecorder) Post(url, data, log interface{}) *gomock.Call

Post indicates an expected call of Post

Jump to

Keyboard shortcuts

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