node

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeExec

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

func NewNodeExec

func NewNodeExec(execPath string, logger gg_log.ILogger, filename string) *NodeExec

func (*NodeExec) ErrWriterAppend

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

func (*NodeExec) GetPath

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

func (*NodeExec) GetTempPath

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

func (*NodeExec) GetWorkPath

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

func (*NodeExec) IsInstalled

func (instance *NodeExec) IsInstalled() bool

func (*NodeExec) LogDisableRotation

func (instance *NodeExec) LogDisableRotation()

func (*NodeExec) LogFlush

func (instance *NodeExec) LogFlush()

func (*NodeExec) OutWriterAppend

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

func (*NodeExec) Root

func (instance *NodeExec) Root() string

func (*NodeExec) Run

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

func (*NodeExec) RunAsync

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

func (*NodeExec) RunWrapped

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

func (*NodeExec) SetLogger

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

func (*NodeExec) SetRoot

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

func (*NodeExec) SetSubTemp

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

func (*NodeExec) SetTemp

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

func (*NodeExec) Temp

func (instance *NodeExec) Temp() string

func (*NodeExec) Version

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

func (*NodeExec) Work

func (instance *NodeExec) Work() string

type NodeHelper

type NodeHelper struct {
}
var (
	Node *NodeHelper
)

func (*NodeHelper) IsInstalled

func (instance *NodeHelper) IsInstalled() bool

func (*NodeHelper) NewExec

func (instance *NodeHelper) NewExec(args ...string) *NodeExec

NewExec Creates new Solana command with default password

func (*NodeHelper) Version

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

Jump to

Keyboard shortcuts

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