Documentation
¶
Index ¶
- func CallCommandFunction(from interface{}, name string, first interface{}, rest map[string]interface{}) (interface{}, error)
- func GetFunctionByName(from interface{}, name string) (reflect.Value, error)
- func ListModuleCommands(module Module, skipNames ...string) []string
- type DefaultExecutor
- type Module
- type Scopeable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallCommandFunction ¶
func GetFunctionByName ¶
func ListModuleCommands ¶
Types ¶
type DefaultExecutor ¶
type DefaultExecutor struct {
// contains filtered or unexported fields
}
func NewDefaultExecutor ¶
func NewDefaultExecutor(from interface{}) *DefaultExecutor
func (*DefaultExecutor) ExecuteCommand ¶
func (self *DefaultExecutor) ExecuteCommand(name string, arg interface{}, objargs map[string]interface{}) (interface{}, error)
func (*DefaultExecutor) FormatCommandName ¶
func (self *DefaultExecutor) FormatCommandName(name string) string
func (*DefaultExecutor) SetInstance ¶
func (self *DefaultExecutor) SetInstance(from interface{})
Click to show internal directories.
Click to hide internal directories.