Documentation ¶
Overview ¶
Package command implements functions for responding to user input and dispatching to appropriate backend commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandFunc ¶
func CommandFunc(fn func() error) cmdfunc
Types ¶
type ById ¶
type ById []*api.Breakpoint
type Commands ¶
type Commands struct {
// contains filtered or unexported fields
}
func DebugCommands ¶
Returns a Commands struct with default commands defined.
func (*Commands) Find ¶
Find will look up the command function for the given command input. If it cannot find the command it will default to noCmdAvailable(). If the command is an empty string it will replay the last command.
type ExitRequestError ¶
type ExitRequestError struct{}
func (ExitRequestError) Error ¶
func (ere ExitRequestError) Error() string
Click to show internal directories.
Click to hide internal directories.