Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventBasedProvider ¶
func NewEventBasedProvider( bdp *BlockDispatcherProvider, ) *eventBasedProvider
Types ¶
type BlockDispatcher ¶
type BlockDispatcher struct {
// contains filtered or unexported fields
}
func (*BlockDispatcher) AddCallback ¶
func (s *BlockDispatcher) AddCallback(f driver.BlockCallback)
type BlockDispatcherProvider ¶
type BlockDispatcherProvider struct { lazy.Provider[netCh, *BlockDispatcher] }
func NewBlockDispatcherProvider ¶
func NewBlockDispatcherProvider() *BlockDispatcherProvider
func (*BlockDispatcherProvider) GetBlockDispatcher ¶
func (p *BlockDispatcherProvider) GetBlockDispatcher(network, channel string) (*BlockDispatcher, error)
Click to show internal directories.
Click to hide internal directories.