Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorNoSuchCommand = errors.New("No such command.")
)
Functions ¶
func RegisterResponseCommand ¶
func RegisterResponseCommand(id byte, cmdFactory CommandCreator) error
Types ¶
type Command ¶
func CreateResponseCommand ¶
type CommandCreator ¶
type CommandCreator func() Command
Click to show internal directories.
Click to hide internal directories.