Versions in this module Expand all Collapse all v0 v0.30.1 Mar 1, 2019 Changes in this version + type ErrListenerWasRemoved struct + func (e ErrListenerWasRemoved) Error() string + type EventCache struct + func NewEventCache(evsw Fireable) *EventCache + func (evc *EventCache) FireEvent(event string, data EventData) + func (evc *EventCache) Flush() + type EventCallback func(data EventData) + type EventData interface + type EventSwitch interface + AddListenerForEvent func(listenerID, event string, cb EventCallback) error + RemoveListener func(listenerID string) + RemoveListenerForEvent func(event string, listenerID string) + func NewEventSwitch() EventSwitch + type Eventable interface + SetEventSwitch func(evsw EventSwitch) + type Fireable interface + FireEvent func(event string, data EventData) v0.30.1-libsecp256k1 Mar 1, 2019