Documentation
¶
Index ¶
- type IDGen
- type Storage
- func (_m *Storage) GetFromRevision(id string, from int) ([]goes.Event, error)
- func (_m *Storage) GetLastEvent(id string) ([]goes.Event, error)
- func (_m *Storage) GetSnapshot(id string, version int) (*goes.Snapshot, error)
- func (_m *Storage) GetUndispatchedEvent() ([]goes.Event, error)
- func (_m *Storage) MarkDispatchedEvent(es []goes.Event) error
- func (_m *Storage) Save(es []goes.Event) error
- func (_m *Storage) SaveSnapshot(snap *goes.Snapshot) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
Storage is an autogenerated mock type for the Storage type
func (*Storage) GetFromRevision ¶
GetFromRevision provides a mock function with given fields: id, from
func (*Storage) GetLastEvent ¶
GetLastEvent provides a mock function with given fields: id
func (*Storage) GetSnapshot ¶
GetSnapshot provides a mock function with given fields: id, version
func (*Storage) GetUndispatchedEvent ¶
GetUndispatchedEvent provides a mock function with given fields:
func (*Storage) MarkDispatchedEvent ¶
MarkDispatchedEvent provides a mock function with given fields: es
Click to show internal directories.
Click to hide internal directories.