chore: add TODO in communication interface

This commit is contained in:
Eli Yip 2025-05-27 15:24:55 +08:00
parent 553873799e
commit 566cfc2cbf
No known key found for this signature in database
GPG Key ID: C98B69D4CF7D7EC5

View File

@ -9,6 +9,7 @@ import (
"time" "time"
) )
// TODO: ID 的作用是什么
// RawMessage 代表发送给 can-bridge 服务或从其接收的原始消息结构 // RawMessage 代表发送给 can-bridge 服务或从其接收的原始消息结构
type RawMessage struct { type RawMessage struct {
Interface string `json:"interface"` // 目标 CAN 接口名,例如 "can0", "vcan1" Interface string `json:"interface"` // 目标 CAN 接口名,例如 "can0", "vcan1"