tcpserver

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (*Plugin) Connector

func (p *Plugin) Connector(deviceName, pointName string) (connector plugin.Connector, err error)

Connector 连接器

func (*Plugin) Destroy

func (p *Plugin) Destroy() error

Destroy 销毁插件

func (*Plugin) Initialize

func (p *Plugin) Initialize(logger *zap.Logger, c config.Config, handler plugin.OnReceiveHandler, ls *lua.LState) (err error)

Initialize 插件初始化

func (*Plugin) ProtocolAdapter

func (p *Plugin) ProtocolAdapter() plugin.ProtocolAdapter

ProtocolAdapter 协议适配器

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL