Documentation
¶
Index ¶
- func AttachNode() (*node.Node, error)
- func NewNode() (*node.Node, error)
- func NewTerminal(rpcPort uint, rpcAddress string) error
- type Terminal
- func (term *Terminal) AddVariable(variableName string, variableData interface{}, variableType string) error
- func (term *Terminal) HandleCommand(command string)
- func (term *Terminal) QueryType(variableType string) (uint, error)
- func (term *Terminal) ReplaceVariable(variableIndex int, variableData interface{}) error
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachNode ¶
AttachNode - attempt to attach to saved node in current working directory
func NewTerminal ¶
NewTerminal - attempts to start io handler for term commands
Types ¶
type Terminal ¶
type Terminal struct {
Variables []Variable
}
Terminal - absctract container holding set of variable with values (runtime only)
func (*Terminal) AddVariable ¶
func (term *Terminal) AddVariable(variableName string, variableData interface{}, variableType string) error
AddVariable - attempt to append specified variable to terminal variable list
func (*Terminal) HandleCommand ¶
HandleCommand - attempt to handle specified command
func (*Terminal) ReplaceVariable ¶
ReplaceVariable - attempt to replace value at index with specified variable
Click to show internal directories.
Click to hide internal directories.