bridge

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 2 Imported by: 0

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)

Jump to

Keyboard shortcuts

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