console

package
v0.0.0-...-a7e7b69 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROMPT_SUFFIX = "> "
)

Variables

This section is empty.

Functions

func Init

func Init()

Initialization function for this package called by golang runtime

func LaunchProcess

func LaunchProcess(mode string, processName string)

Send a command to the process mode

func LaunchREPL

func LaunchREPL(sig chan Exit, runConsole bool, readCommandsFromStdin bool)

Simple REPL that loops until the user exits

func ListProcesses

func ListProcesses()

Send a "list" command to the process mode

Types

type Exit

type Exit struct{}

Jump to

Keyboard shortcuts

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