supervisor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Supervisor

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

func New

func New(name string, args ...string) *Supervisor

func (*Supervisor) ShutdownNow

func (s *Supervisor) ShutdownNow() error

func (*Supervisor) ShutdownWithTimeout

func (s *Supervisor) ShutdownWithTimeout(timeout time.Duration) error

func (*Supervisor) Signal

func (s *Supervisor) Signal(sig os.Signal) error

func (*Supervisor) Start

func (s *Supervisor) Start() error

func (*Supervisor) String

func (s *Supervisor) String() string

String joins the command Path and Args and quotes any with spaces

func (*Supervisor) Wait

func (s *Supervisor) Wait() error

Jump to

Keyboard shortcuts

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