fork

package
v4.3.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

func WithCustomFlags

func WithCustomFlags(f ...string) Option

func WithDebug

func WithDebug() Option

func WithParentName

func WithParentName(p string) Option

func WithRetries

func WithRetries(i int) Option

func WithWatch

func WithWatch(w func(event string, process *Process)) Option

type Options

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

type Process

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

func NewProcess

func NewProcess(ctx context.Context, serviceNames []string, oo ...Option) *Process

func (*Process) Err

func (p *Process) Err() error

func (*Process) GetPID added in v4.0.1

func (p *Process) GetPID() (string, bool)

func (*Process) StartAndWait

func (p *Process) StartAndWait(retry ...int) error

func (*Process) Stop

func (p *Process) Stop()

Jump to

Keyboard shortcuts

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