runner

package
v0.0.0-...-ba78406 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interval    int
	StopTimeout int
}

type IRunner

type IRunner interface {
	Run(runAt time.Time)
	StopTimeout()
}

type Runner

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

func New

func New(conf *Config, runner IRunner) *Runner

func (*Runner) Start

func (self *Runner) Start()

Jump to

Keyboard shortcuts

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