Documentation ¶ Index ¶ Constants type Config type Tasker func New(ctx context.Context, logger log.Logger, cfg Config, client *ethclient.Client, ...) (*Tasker, map[string]chan *mining.Work, error) func (self *Tasker) Start() error func (self *Tasker) Stop() Constants ¶ View Source const ( ComponentName = "taskerNewChallenge" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { LogLevel string } type Tasker ¶ type Tasker struct { // contains filtered or unexported fields } func New ¶ func New( ctx context.Context, logger log.Logger, cfg Config, client *ethclient.Client, contract contracts.TellorCaller, accounts []*ethereum.Account, ) (*Tasker, map[string]chan *mining.Work, error) func (*Tasker) Start ¶ func (self *Tasker) Start() error func (*Tasker) Stop ¶ func (self *Tasker) Stop() Source Files ¶ View all Source files tasker.go Click to show internal directories. Click to hide internal directories.