Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, bridge NetworkBridge)
Types ¶
type NetworkBridge ¶
type NetworkBridge interface {
UpLink(func(module.DeviceData)) // 设置上报回调
DownLink(module.DeviceData) // 下发
}
NetworkBridge 网络层桥接器
func Get ¶
func Get(name string) (b NetworkBridge, err error)
Click to show internal directories.
Click to hide internal directories.