Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FFIInterpreter ¶
type FFIInterpreter struct {
// contains filtered or unexported fields
}
func NewFFIInterpreter ¶
func NewFFIInterpreter() (*FFIInterpreter, error)
func (*FFIInterpreter) Close ¶
func (i *FFIInterpreter) Close()
func (*FFIInterpreter) ExecScript ¶
type Interpreter ¶
type Interpreter struct {
// contains filtered or unexported fields
}
func NewInterpreter ¶
func NewInterpreter() (*Interpreter, error)
func (*Interpreter) Close ¶
func (i *Interpreter) Close() error
func (*Interpreter) ExecutePythonScript ¶
func (i *Interpreter) ExecutePythonScript(scriptPath string, args []string) (string, error)
type ScriptRunner ¶
type ScriptRunner struct {
// contains filtered or unexported fields
}
func NewScriptRunner ¶
func NewScriptRunner(toolsPath string, rocketMQAddrs []string, eventTopic string) (*ScriptRunner, error)
func (*ScriptRunner) Close ¶
func (r *ScriptRunner) Close() error
func (*ScriptRunner) RunToolScript ¶
func (r *ScriptRunner) RunToolScript(toolName string, args map[string]interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.