mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PollStore

type PollStore struct {
	mock.Mock
}

PollStore is an autogenerated mock type for the PollStore type

func (*PollStore) Delete

func (_m *PollStore) Delete(_a0 *poll.Poll) error

Delete provides a mock function with given fields: _a0

func (*PollStore) Get

func (_m *PollStore) Get(id string) (*poll.Poll, error)

Get provides a mock function with given fields: id

func (*PollStore) Save

func (_m *PollStore) Save(_a0 *poll.Poll) error

Save provides a mock function with given fields: _a0

type SystemStore

type SystemStore struct {
	mock.Mock
}

SystemStore is an autogenerated mock type for the SystemStore type

func (*SystemStore) GetVersion

func (_m *SystemStore) GetVersion() (string, error)

GetVersion provides a mock function with given fields:

func (*SystemStore) SaveVersion

func (_m *SystemStore) SaveVersion(version string) error

SaveVersion provides a mock function with given fields: version

Jump to

Keyboard shortcuts

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