Versions in this module Expand all Collapse all v1 v1.0.0 Aug 2, 2023 Changes in this version + var CoreCache coreCache + var Crontab crontab.Crontab + var DeviceShadow shadow.DeviceShadow + var DriverConfig config.DriverConfig + var Exports []export.Export + var Logger *zap.Logger + var PluginCacheMap = &sync.Map + func CallLuaConverter(L *lua.LState, method string, raw interface{}) ([]plugin.DeviceData, error) + func CallLuaEncodeConverter(L *lua.LState, deviceName string, raw interface{}) (string, error) + func Conv2Float64(value interface{}) (f float64, err error) + func Conv2Int64(value interface{}) (i int64, err error) + func Conv2String(value interface{}) (s string, err error) + func ConvPointType(value interface{}, valueType string) (interface{}, error) + func FileExists(path string) bool + func GetChildDir(path string) (list []string, err error) + func GetChildDirName(path string) (list []string, err error) + func InitCoreCache(configMap map[string]config.Config) (err error) + func InitLogger(level string) (err error) + func InitLuaVM(scriptDir string) (*lua.LState, error) + func Map2Struct(m interface{}, v interface{}) error + func PointCacheFilter(deviceData *plugin.DeviceData) + func PointValueType2EdgeX(valueType string) string + func SafeCallLuaFunc(L *lua.LState, method string) error + func Send(deviceName string, mode plugin.EncodeMode, value plugin.PointData) (err error) + func SendMultiRead(deviceNames []string, pointNames []string) (err error) + type LuaModule struct + var LuaModuleInstance *LuaModule + func (lm *LuaModule) GetCache(L *lua.LState) int + func (lm *LuaModule) Loader(L *lua.LState) int + func (lm *LuaModule) SetCache(L *lua.LState) int + func (lm *LuaModule) WriteToMsgBus(L *lua.LState) int + type ProtocolProperties map[string]string