WatchDog

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

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WatchDog

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

func NewDog

func NewDog(duration time.Duration, meat int32, hung func()) *WatchDog

func (*WatchDog) Feed

func (this *WatchDog) Feed(meat uint16) bool

func (*WatchDog) Kill

func (this *WatchDog) Kill()

func (*WatchDog) Living

func (this *WatchDog) Living() bool

Jump to

Keyboard shortcuts

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