Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct {
// Quit will be closed when the user press CTRL-C. A new channel will be created
// on each New call.
Quit chan struct{}
// contains filtered or unexported fields
}
Console is a Terminal Console (TConsole), a user-interactive informational display visible on the TTY of a running Metropolis instance.
func New ¶
New creates a new Console, taking over the TTY at the given path. The given Terminal type selects between a Linux terminal (VTY) and a generic terminal for testing.
network, roles, curatorConn point to various Metropolis subsystems that are used to populate the console data.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.