Documentation ¶
Index ¶
- type Engine
- func (s *Engine) Close()
- func (s *Engine) Compile() error
- func (s *Engine) Do() (result string, err error)
- func (s *Engine) DoFull() (res string, err error)
- func (s *Engine) Get() Magic
- func (s *Engine) Print(v ...interface{})
- func (s *Engine) PushFunction(name string, i interface{}) (int, error)
- func (s *Engine) PushStruct(name string, i interface{}) (int, error)
- func (s *Engine) Update() (err error)
- type Javascript
- func (j *Javascript) Close()
- func (j *Javascript) Compile() (err error)
- func (j *Javascript) Do() (result string, err error)
- func (j *Javascript) Init() (err error)
- func (j *Javascript) PushFunction(name string, s interface{}) (int, error)
- func (j *Javascript) PushStruct(name string, s interface{}) (int, error)
- type Lua
- type Magic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { IsRun bool // contains filtered or unexported fields }
func (*Engine) PushFunction ¶
type Javascript ¶
type Javascript struct {
// contains filtered or unexported fields
}
func (*Javascript) Close ¶
func (j *Javascript) Close()
func (*Javascript) Compile ¶
func (j *Javascript) Compile() (err error)
func (*Javascript) Do ¶
func (j *Javascript) Do() (result string, err error)
func (*Javascript) Init ¶
func (j *Javascript) Init() (err error)
func (*Javascript) PushFunction ¶
func (j *Javascript) PushFunction(name string, s interface{}) (int, error)
func (*Javascript) PushStruct ¶
func (j *Javascript) PushStruct(name string, s interface{}) (int, error)
Click to show internal directories.
Click to hide internal directories.