Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func NewDispatcher( factory storage.ListenerFactory, blocks storage.IBlock, txs storage.ITx, ) (*Dispatcher, error)
func (*Dispatcher) Close ¶
func (d *Dispatcher) Close() error
func (*Dispatcher) Observe ¶
func (d *Dispatcher) Observe(channels ...string) *Observer
func (*Dispatcher) Start ¶
func (d *Dispatcher) Start(ctx context.Context)
type Observer ¶
type Observer struct {
// contains filtered or unexported fields
}
func NewObserver ¶
Click to show internal directories.
Click to hide internal directories.