Versions in this module Expand all Collapse all v1 v1.4.5 Jul 11, 2021 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