restarts

package module
v0.0.0-...-2253023 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 4 Imported by: 0

README

overseer-task-restarts

Restart implementation for https://github.com/jpillora/overseer with https://github.com/moisespsena-go/task

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t ...task.Task) *task.Runner

func Run

func Run(r *task.Runner)

func RunConfig

func RunConfig(r *task.Runner, cfg *Config)

func RunUpdater

func RunUpdater(r *task.Runner, fetcher fetcher.Interface)

Types

type Config

type Config = overseer.Config

type SelfRestarter

type SelfRestarter struct {
	*task.Runner
	SelfUpdater fetcher.Interface
}

func (*SelfRestarter) Run

func (r *SelfRestarter) Run()

Jump to

Keyboard shortcuts

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