watchdog

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleWatchdog

type SimpleWatchdog struct {
	NewTicker func() *time.Ticker
	OnTick    func() error
	OnError   func(error)
}

func (*SimpleWatchdog) Start

func (w *SimpleWatchdog) Start(stop <-chan struct{})

type Watchdog

type Watchdog interface {
	Start(stop <-chan struct{})
}

Jump to

Keyboard shortcuts

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