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 (*EventsDB) FlushEvents ¶ added in v0.3.4
type IEventsDB ¶ added in v0.19.0
type IEventsDB interface {
AddEvent(height uint64, event e.Event)
LoadEvents(height uint64) e.Events
FlushEvents() error
}
func GetCurrent ¶
func GetCurrent() IEventsDB
type NOOPEventsDB ¶ added in v0.19.0
type NOOPEventsDB struct {
}
func (NOOPEventsDB) AddEvent ¶ added in v0.19.0
func (NOOPEventsDB) AddEvent(height uint64, event e.Event)
func (NOOPEventsDB) FlushEvents ¶ added in v0.19.0
func (NOOPEventsDB) FlushEvents() error
func (NOOPEventsDB) LoadEvents ¶ added in v0.19.0
func (NOOPEventsDB) LoadEvents(height uint64) e.Events
Click to show internal directories.
Click to hide internal directories.