mock_gsb

package
v0.0.0-...-98addd5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSafeBrowsing

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

Mock of SafeBrowsing interface

func NewMockSafeBrowsing

func NewMockSafeBrowsing(ctrl *gomock.Controller) *MockSafeBrowsing

func (*MockSafeBrowsing) EXPECT

func (_m *MockSafeBrowsing) EXPECT() *_MockSafeBrowsingRecorder

func (*MockSafeBrowsing) IsListed

func (_m *MockSafeBrowsing) IsListed(url string) (string, error)

type MockSafeBrowsingV4

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

Mock of SafeBrowsingV4 interface

func NewMockSafeBrowsingV4

func NewMockSafeBrowsingV4(ctrl *gomock.Controller) *MockSafeBrowsingV4

func (*MockSafeBrowsingV4) EXPECT

func (_m *MockSafeBrowsingV4) EXPECT() *_MockSafeBrowsingV4Recorder

func (*MockSafeBrowsingV4) LookupURLs

func (_m *MockSafeBrowsingV4) LookupURLs(urls []string) ([][]safebrowsing.URLThreat, error)

Jump to

Keyboard shortcuts

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