node_ts

package
v0.2.37 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TsNodeExec

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

func NewTsNodeExec

func NewTsNodeExec(execPath string, logger gg_log.ILogger, filename string) *TsNodeExec

func (*TsNodeExec) ErrWriterAppend

func (instance *TsNodeExec) ErrWriterAppend(w io.Writer)

func (*TsNodeExec) GetPath

func (instance *TsNodeExec) GetPath(path string) (response string)

func (*TsNodeExec) GetTempPath

func (instance *TsNodeExec) GetTempPath(subPath string) (response string)

func (*TsNodeExec) GetWorkPath

func (instance *TsNodeExec) GetWorkPath(subPath string) (response string)

func (*TsNodeExec) IsInstalled

func (instance *TsNodeExec) IsInstalled() bool

func (*TsNodeExec) LogDisableRotation

func (instance *TsNodeExec) LogDisableRotation()

func (*TsNodeExec) LogFlush

func (instance *TsNodeExec) LogFlush()

func (*TsNodeExec) OutWriterAppend

func (instance *TsNodeExec) OutWriterAppend(w io.Writer)

func (*TsNodeExec) Root

func (instance *TsNodeExec) Root() string

func (*TsNodeExec) Run

func (instance *TsNodeExec) Run(args ...string) (*executor.ConsoleProgramSession, error)

func (*TsNodeExec) RunAsync

func (instance *TsNodeExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)

func (*TsNodeExec) RunWrapped

func (instance *TsNodeExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)

func (*TsNodeExec) SetLogger

func (instance *TsNodeExec) SetLogger(logger gg_log.ILogger) *TsNodeExec

func (*TsNodeExec) SetRoot

func (instance *TsNodeExec) SetRoot(dir string) *TsNodeExec

func (*TsNodeExec) SetSubTemp

func (instance *TsNodeExec) SetSubTemp(enabled bool) *TsNodeExec

func (*TsNodeExec) SetTemp

func (instance *TsNodeExec) SetTemp(dir string) *TsNodeExec

func (*TsNodeExec) Temp

func (instance *TsNodeExec) Temp() string

func (*TsNodeExec) Version

func (instance *TsNodeExec) Version() (string, error)

func (*TsNodeExec) Work

func (instance *TsNodeExec) Work() string

type TsNodeHelper

type TsNodeHelper struct {
}
var (
	TsNode *TsNodeHelper
)

func (*TsNodeHelper) Install

func (instance *TsNodeHelper) Install() (version string, err error)

func (*TsNodeHelper) IsInstalled

func (instance *TsNodeHelper) IsInstalled() bool

func (*TsNodeHelper) NewExec

func (instance *TsNodeHelper) NewExec(args ...string) *TsNodeExec

NewExec Creates new exec command with default password

func (*TsNodeHelper) Version

func (instance *TsNodeHelper) Version() (version string, err error)

Jump to

Keyboard shortcuts

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