Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Computer ¶
type Computer struct {
Input chan Msg
Name string
Output chan Msg
IsHalted bool
IsWaitingForInput bool
IsReadyForOutput bool
// contains filtered or unexported fields
}
Computer defines a new computer
func NewComputerWithName ¶
NewComputerWithName creates a new computer with a name
func (*Computer) GetLastOutput ¶
GetLastOutput gets the last output by this computer
Click to show internal directories.
Click to hide internal directories.