Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Term ¶
type Term struct {
// contains filtered or unexported fields
}
Term struct representing a console manager
func (*Term) AddCommand ¶
AddCommand adds a function handler for this command
func (*Term) AddUnknownHandler ¶
AddUnknownHandler adds a function handler for unknown command
func (*Term) ListenUntilExit ¶
func (t *Term) ListenUntilExit()
ListenUntilExit starts reading command until "exit" or "quit"
func (*Term) RemoveCommand ¶
RemoveCommand removes a command/handler entry
Click to show internal directories.
Click to hide internal directories.