mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	mock.Mock
}

Resource is an autogenerated mock type for the Resource type

func (*Resource) Fetch

func (_m *Resource) Fetch(target string) ([][]byte, error)

Fetch provides a mock function with given fields: target

func (*Resource) Listen

func (_m *Resource) Listen(target string) error

Listen provides a mock function with given fields: target

func (*Resource) Publish

func (_m *Resource) Publish(target string, payload []byte) error

Publish provides a mock function with given fields: target, payload

func (*Resource) Ready

func (_m *Resource) Ready() error

Ready provides a mock function with given fields:

func (*Resource) Reset

func (_m *Resource) Reset() error

Reset provides a mock function with given fields:

Jump to

Keyboard shortcuts

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