fetcherfakes

package
v0.0.0-...-50db23e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFetcher

type FakeFetcher struct {
	FetchStub func(url string) (pageContent []byte, err error)

	DoneStub func() error
	// contains filtered or unexported fields
}

func (*FakeFetcher) Done

func (fake *FakeFetcher) Done() error

func (*FakeFetcher) DoneCallCount

func (fake *FakeFetcher) DoneCallCount() int

func (*FakeFetcher) DoneReturns

func (fake *FakeFetcher) DoneReturns(result1 error)

func (*FakeFetcher) Fetch

func (fake *FakeFetcher) Fetch(url string) (pageContent []byte, err error)

func (*FakeFetcher) FetchArgsForCall

func (fake *FakeFetcher) FetchArgsForCall(i int) string

func (*FakeFetcher) FetchCallCount

func (fake *FakeFetcher) FetchCallCount() int

func (*FakeFetcher) FetchReturns

func (fake *FakeFetcher) FetchReturns(result1 []byte, result2 error)

func (*FakeFetcher) Invocations

func (fake *FakeFetcher) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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