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) 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
Click to show internal directories.
Click to hide internal directories.