实现 GeneralDeviceService
This commit is contained in:
@@ -3,5 +3,5 @@ package transport
|
||||
// Communicator 用于其他设备通信
|
||||
type Communicator interface {
|
||||
// Send 用于发送一条单向数据(不等待回信)
|
||||
Send(deviceID string, payload []byte) error
|
||||
Send(address string, payload []byte) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user