Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEventStore ¶
type FakeEventStore struct{}
func NewFakeEventStore ¶
func NewFakeEventStore() *FakeEventStore
func (*FakeEventStore) GetAllByHeight ¶
func (manager *FakeEventStore) GetAllByHeight(seq int64) ([]entity_event.Event, error)
func (*FakeEventStore) GetLatestHeight ¶
func (manager *FakeEventStore) GetLatestHeight() (*int64, error)
func (*FakeEventStore) Insert ¶
func (manager *FakeEventStore) Insert(evt entity_event.Event) error
func (*FakeEventStore) InsertAll ¶
func (manager *FakeEventStore) InsertAll(evts []entity_event.Event) error
type MockEvent ¶
func NewMockEvent ¶
func NewMockEvent() *MockEvent
type MockEventStore ¶
func NewMockEventStore ¶
func NewMockEventStore() *MockEventStore
func (*MockEventStore) GetAllByHeight ¶
func (manager *MockEventStore) GetAllByHeight(height int64) ([]entity_event.Event, error)
func (*MockEventStore) GetLatestHeight ¶
func (manager *MockEventStore) GetLatestHeight() (*int64, error)
func (*MockEventStore) Insert ¶
func (manager *MockEventStore) Insert(evt entity_event.Event) error
func (*MockEventStore) InsertAll ¶
func (manager *MockEventStore) InsertAll(evts []entity_event.Event) error
Click to show internal directories.
Click to hide internal directories.