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 New ¶
func New(persistence Persistence, newDatasource NewDatasource, projectManager ProjectManager, defaultDatasourceURI, bootNodeMultiaddr, operatorPrivateKey, operatorPrivateKeyED25519, contractWhitelist string, defaultDatasourcePubKey []byte, iotexChainID int, projectNotification <-chan uint64, chainHeadNotification <-chan uint64, contract Contract, projectOffsets *scheduler.ProjectEpochOffsets) (*Dispatcher, error)
func NewLocal ¶
func NewLocal(persistence Persistence, newDatasource NewDatasource, projectManager ProjectManager, defaultDatasourceURI, operatorPrivateKey, operatorPrivateKeyED25519, bootNodeMultiaddr, contractWhitelist string, defaultDatasourcePubKey []byte, iotexChainID int) (*Dispatcher, error)
func (*Dispatcher) Run ¶
func (d *Dispatcher) Run()
type NewDatasource ¶
type NewDatasource func(datasourceURI string) (datasource.Datasource, error)
type Persistence ¶
Click to show internal directories.
Click to hide internal directories.