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 CallLuaMethodV2(L *lua.LState, method string, args ...lua.LValue) (*lua.LTable, error)
- func Close(L *lua.LState)
- func InitLuaVM(filePath string) (*lua.LState, error)
- type LuaModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallLuaConverter ¶
CallLuaConverter 调用 Lua 脚本转换器
func CallLuaEncodeConverter ¶
CallLuaEncodeConverter 调用 Lua 脚本编码转换器
func CallLuaMethod ¶
执行指定lua方法
func CallLuaMethodV2 ¶ added in v1.1.2
Types ¶
Click to show internal directories.
Click to hide internal directories.