Documentation ¶
Index ¶
Constants ¶
View Source
const ( DecimalValue = iota FloatValue StringValue BoolValue )
Variables ¶
View Source
var ( NotEnoughParameterError = errors.New("not enough parameter") IllegalParameterError = errors.New("illegal parameter") )
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string Params CommandParameters Handler CommandHandler }
type CommandHandler ¶
type CommandParameter ¶
type CommandParameter struct { Label string ValueType CommandParameterType Value string }
type CommandParameterType ¶
type CommandParameterType int
type CommandParameters ¶
type CommandParameters []CommandParameter
func (CommandParameters) GetParameter ¶
func (p CommandParameters) GetParameter(label string, idx int) (interface{}, bool)
func (CommandParameters) Size ¶
func (p CommandParameters) Size() int
Click to show internal directories.
Click to hide internal directories.