proc

package
v0.0.0-...-4d27fde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

Scheduler is a task scheduler.

func NewScheduler

func NewScheduler(ctx context.Context, networkID *big.Int, cfg *config.Config,
	database *reform.DB, ethClient *eth.GethClient) (*Scheduler, error)

NewScheduler creates a new task scheduler.

func (*Scheduler) Close

func (s *Scheduler) Close()

Close closes a task scheduler.

func (*Scheduler) Start

func (s *Scheduler) Start() error

Start starts a task scheduler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL