Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitBlockEvent ¶
type EventSystem ¶
type EventSystem struct {
// contains filtered or unexported fields
}
func GetEventSystem ¶
func GetEventSystem() *EventSystem
func NewEventSystem ¶
func NewEventSystem() *EventSystem
func (*EventSystem) SendCommitBlockEvent ¶
func (es *EventSystem) SendCommitBlockEvent(e CommitBlockEvent) int
SendCommitBlockEvent: once we receive a commitBlockEvent, we should
func (*EventSystem) Stop ¶
func (es *EventSystem) Stop()
func (*EventSystem) SubscribeCommitBlockEvent ¶
func (es *EventSystem) SubscribeCommitBlockEvent(ch chan<- CommitBlockEvent) event.Subscription
Click to show internal directories.
Click to hide internal directories.