Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + type Acceptor interface + Accept func(ctx *snow.Context, containerID ids.ID, container []byte) error + type EventDispatcher struct + func (ed *EventDispatcher) Accept(ctx *snow.Context, containerID ids.ID, container []byte) error + func (ed *EventDispatcher) Deregister(identifier string) error + func (ed *EventDispatcher) DeregisterChain(chainID ids.ID, identifier string) error + func (ed *EventDispatcher) Initialize(log logging.Logger) + func (ed *EventDispatcher) Issue(ctx *snow.Context, containerID ids.ID, container []byte) error + func (ed *EventDispatcher) Register(identifier string, handler interface{}) error + func (ed *EventDispatcher) RegisterChain(chainID ids.ID, identifier string, handlerFunc interface{}, dieOnError bool) error + func (ed *EventDispatcher) Reject(ctx *snow.Context, containerID ids.ID, container []byte) error + type Issuer interface + Issue func(ctx *snow.Context, containerID ids.ID, container []byte) error + type Rejector interface + Reject func(ctx *snow.Context, containerID ids.ID, container []byte) error