scheduler

package
v0.0.0-...-ce881af Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 6 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 interface {
	Start() error
	Shutdown(ctx context.Context) error
}

func NewTimeScheduler

func NewTimeScheduler(logger *log.Logger) Scheduler

type TimeScheduler

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

func (TimeScheduler) Shutdown

func (s TimeScheduler) Shutdown(ctx context.Context) error

func (TimeScheduler) Start

func (s TimeScheduler) Start() error

Jump to

Keyboard shortcuts

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