process

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Run(ctx context.Context, network, chain, version string) error
	Name() string
}

type Running

type Running struct {
	Name string

	CancelFunc context.CancelFunc
}

type Scheduler

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

func NewScheduler

func NewScheduler(logger *zap.Logger) *Scheduler

func (*Scheduler) Run

func (s *Scheduler) Run(ctx context.Context, name string, d time.Duration, network, chainID, version string, r Runner)

func (*Scheduler) Stop

func (s *Scheduler) Stop(ctx context.Context, name string)

Jump to

Keyboard shortcuts

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