Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct { 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 ¶
func New(terminal Terminal, ttyPath string, lt *logtree.LogTree, network event.Value[*network.Status], roles event.Value[*cpb.NodeRoles], curatorConn event.Value[*roleserve.CuratorConnection]) (*Console, error)
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.