Versions in this module Expand all Collapse all v0 v0.21.1 Nov 6, 2024 v0.21.0 Oct 28, 2024 Changes in this version + type Engine interface + AssertFunction func(f string, arg ...interface{}) (result string, err error) + Compile func() (err error) + Do func() (string, error) + DoFull func() (res string, err error) + EvalScript func(script *m.Script) (result string, err error) + EvalString func(str ...string) (result string, errs error) + File func(path string) ([]byte, error) + Get func() IScript + Print func(v ...interface{}) + PushFunction func(name string, i interface{}) + PushStruct func(name string, i interface{}) + Script func() *m.Script + ScriptId func() int64 + type EngineWatcher interface + BeforeSpawn func(f func(engine Engine)) + Engine func() Engine + PopFunction func(name string) + PopStruct func(name string) + PushFunction func(name string, f interface{}) + PushStruct func(name string, str interface{}) + Spawn func(f func(engine Engine)) + Stop func() + type EnginesWatcher interface + AssertFunction func(f string, arg ...interface{}) (result string, err error) + BeforeSpawn func(f func(engine Engine)) + Engine func() Engine + PopFunction func(name string) + PopStruct func(name string) + PushFunction func(name string, f interface{}) + PushStruct func(name string, str interface{}) + Spawn func(f func(engine Engine)) + Stop func() + type IScript interface + AssertFunction func(string, ...interface{}) (string, error) + Compile func() error + CreateProgram func(name, source string) (err error) + Do func() (string, error) + EvalString func(string) (string, error) + Init func() error + PushFunction func(string, interface{}) + PushStruct func(string, interface{}) + RunProgram func(name string) (result string, err error) + type ScriptService interface + NewEngine func(s *m.Script) (Engine, error) + NewEngineWatcher func(*m.Script) (EngineWatcher, error) + NewEnginesWatcher func([]*m.Script) (EnginesWatcher, error) + PopFunction func(name string) + PopStruct func(name string) + PushFunctions func(name string, s interface{}) + PushStruct func(name string, s interface{}) + Restart func()