Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventsDB ¶
type EventsDB struct {
// contains filtered or unexported fields
}
func NewEventsDB ¶
func NewEventsDB(db db.DB) *EventsDB
func (*EventsDB) FlushEvents ¶
type IEventsDB ¶
type IEventsDB interface {
AddEvent(height uint64, event e.Event)
LoadEvents(height uint64) e.Events
FlushEvents() error
}
func GetCurrent ¶
func GetCurrent() IEventsDB
type NOOPEventsDB ¶
type NOOPEventsDB struct {
}
func (NOOPEventsDB) FlushEvents ¶
func (NOOPEventsDB) FlushEvents() error
func (NOOPEventsDB) LoadEvents ¶
func (NOOPEventsDB) LoadEvents(height uint64) e.Events
Click to show internal directories.
Click to hide internal directories.