Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants type Restarter func New(exe string) *Restarter func (restarter *Restarter) AddFlags(flags ...string) func (restarter *Restarter) Override(exe string) func (restarter *Restarter) Restart() func (restarter *Restarter) Set(restart, crash bool) 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) Source Files ¶ View all Source files restarter.go start_default.go Click to show internal directories. Click to hide internal directories.