mocks

package
v0.0.0-...-ebe1b00 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 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 IDGen

type IDGen struct {
	mock.Mock
}

IDGen is an autogenerated mock type for the IDGen type

func (*IDGen) Generate

func (_m *IDGen) Generate() string

Generate provides a mock function with given fields:

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) GetFromRevision

func (_m *Storage) GetFromRevision(id string, from int) ([]goes.Event, error)

GetFromRevision provides a mock function with given fields: id, from

func (*Storage) GetLastEvent

func (_m *Storage) GetLastEvent(id string) ([]goes.Event, error)

GetLastEvent provides a mock function with given fields: id

func (*Storage) GetSnapshot

func (_m *Storage) GetSnapshot(id string, version int) (*goes.Snapshot, error)

GetSnapshot provides a mock function with given fields: id, version

func (*Storage) GetUndispatchedEvent

func (_m *Storage) GetUndispatchedEvent() ([]goes.Event, error)

GetUndispatchedEvent provides a mock function with given fields:

func (*Storage) MarkDispatchedEvent

func (_m *Storage) MarkDispatchedEvent(es []goes.Event) error

MarkDispatchedEvent provides a mock function with given fields: es

func (*Storage) Save

func (_m *Storage) Save(es []goes.Event) error

Save provides a mock function with given fields: es

func (*Storage) SaveSnapshot

func (_m *Storage) SaveSnapshot(snap *goes.Snapshot) error

SaveSnapshot provides a mock function with given fields: snap

Jump to

Keyboard shortcuts

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