This commit is contained in:
黄思敏 2022-08-25 12:17:25 +08:00
parent 0de32b908f
commit dd933f1c8f

2
rpc.go
View File

@ -48,7 +48,7 @@ func (s *RPCServer) SendFrames(stream gen.FrameService_SendFramesServer) error {
if err != nil {
log.Panic(err)
}
log.Printf("request: %v", request)
log.Printf("request: %v", len(request.Frames))
s.netCard.FrameChan <- request.GetFrames() // 接受数据 广播到网卡上
}