Documentation
¶
Index ¶
- func CallLuaConverter(L *lua.LState, method string, raw interface{}) ([]plugin.DeviceData, error)
- func CallLuaEncodeConverter(L *lua.LState, deviceSn string, raw interface{}) (string, error)
- func CallLuaMethod(L *lua.LState, method string, args ...lua.LValue) (string, error)
- func Close(L *lua.LState)
- func FileExists(path string) bool
- func InitLuaVM(filePath string) (*lua.LState, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallLuaConverter ¶
CallLuaConverter 调用 Lua 脚本转换器
func CallLuaEncodeConverter ¶
CallLuaEncodeConverter 调用 Lua 脚本编码转换器
func CallLuaMethod ¶
执行指定lua方法
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.