Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Command string `json:"command"` ModifierSet *ModifierSet `json:"modifiers"` }
Command - absctract container holding command values
func NewCommand ¶
func NewCommand(command string, modifierSet *ModifierSet) (*Command, error)
NewCommand - attempt to initialize new instance of command struct with specified command, modifiers.
type ModifierSet ¶
type ModifierSet struct { Type string `json:"type"` Value interface{} `json:"value"` Variable *environment.Variable `json:"variable"` }
ModifierSet - abstract containers holding specific parameters for a command
func NewModifierSet ¶
func NewModifierSet(modifierType string, modifierValue interface{}, modifierVariable *environment.Variable) *ModifierSet
NewModifierSet - initialize new instance of modifierset struct with modifiers
Click to show internal directories.
Click to hide internal directories.