restarter

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BridgeCrashCount = "BRIDGE_CRASH_COUNT"
	MaxCrashRestarts = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Restarter

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

func New

func New(exe string) *Restarter

func (*Restarter) AddFlags

func (restarter *Restarter) AddFlags(flags ...string)

func (*Restarter) Override

func (restarter *Restarter) Override(exe string)

func (*Restarter) Restart

func (restarter *Restarter) Restart()

func (*Restarter) Set

func (restarter *Restarter) Set(restart, crash bool)

Jump to

Keyboard shortcuts

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