launcher

package
v1.12.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	Mutex lock.RWMutex
	// contains filtered or unexported fields
}

Launcher is used to wrap the node executable binary.

func (*Launcher) GetArgs

func (launcher *Launcher) GetArgs() []string

GetArgs returns the Launcher arg.

func (*Launcher) GetProcess

func (launcher *Launcher) GetProcess() *os.Process

GetProcess returns the internal process.

func (*Launcher) GetStdout

func (launcher *Launcher) GetStdout() io.ReadCloser

GetStdout gets the stdout pipe.

func (*Launcher) GetTarget

func (launcher *Launcher) GetTarget() string

GetTarget returns the Launcher target.

func (*Launcher) Run

func (launcher *Launcher) Run() error

Run starts the daemon.

func (*Launcher) SetArgs

func (launcher *Launcher) SetArgs(args []string)

SetArgs sets the Launcher arg.

func (*Launcher) SetTarget

func (launcher *Launcher) SetTarget(target string)

SetTarget sets the Launcher target.

Jump to

Keyboard shortcuts

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