From acf384f3d6653f4696446b113177140f491c4e38 Mon Sep 17 00:00:00 2001
From: gongshangguo <gongshangguo@admin.com>
Date: 星期二, 12 四月 2022 09:58:10 +0800
Subject: [PATCH] 更新aiot
---
aiotProto/aiot/aiot_business.pb.micro.go | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/aiotProto/aiot/aiot_business.pb.micro.go b/aiotProto/aiot/aiot_business.pb.micro.go
index 85ade0b..c24a633 100644
--- a/aiotProto/aiot/aiot_business.pb.micro.go
+++ b/aiotProto/aiot/aiot_business.pb.micro.go
@@ -38,8 +38,6 @@
SendToNode(ctx context.Context, in *NodeReq, opts ...client.CallOption) (*BusinessReply, error)
// 鐩存帴鍙戦�佸悓姝cp璇锋眰
SendAiotSyncReq(ctx context.Context, in *Protocol, opts ...client.CallOption) (*BusinessReply, error)
- // 鐩存帴鍙戦�佸紓姝cp璇锋眰
- SendAiotAsyncReq(ctx context.Context, in *Protocol, opts ...client.CallOption) (*BusinessReply, error)
// 鍙戦�佺兢缁勮姹�
SendToCluster(ctx context.Context, in *ClusterReq, opts ...client.CallOption) (*BusinessReply, error)
// 鍚戝涓澶囧悓鏃跺彂璧风浉鍚屽弬鏁拌姹�
@@ -84,16 +82,6 @@
return out, nil
}
-func (c *aiotService) SendAiotAsyncReq(ctx context.Context, in *Protocol, opts ...client.CallOption) (*BusinessReply, error) {
- req := c.c.NewRequest(c.name, "AiotService.SendAiotAsyncReq", in)
- out := new(BusinessReply)
- err := c.c.Call(ctx, req, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *aiotService) SendToCluster(ctx context.Context, in *ClusterReq, opts ...client.CallOption) (*BusinessReply, error) {
req := c.c.NewRequest(c.name, "AiotService.SendToCluster", in)
out := new(BusinessReply)
@@ -121,8 +109,6 @@
SendToNode(context.Context, *NodeReq, *BusinessReply) error
// 鐩存帴鍙戦�佸悓姝cp璇锋眰
SendAiotSyncReq(context.Context, *Protocol, *BusinessReply) error
- // 鐩存帴鍙戦�佸紓姝cp璇锋眰
- SendAiotAsyncReq(context.Context, *Protocol, *BusinessReply) error
// 鍙戦�佺兢缁勮姹�
SendToCluster(context.Context, *ClusterReq, *BusinessReply) error
// 鍚戝涓澶囧悓鏃跺彂璧风浉鍚屽弬鏁拌姹�
@@ -133,7 +119,6 @@
type aiotService interface {
SendToNode(ctx context.Context, in *NodeReq, out *BusinessReply) error
SendAiotSyncReq(ctx context.Context, in *Protocol, out *BusinessReply) error
- SendAiotAsyncReq(ctx context.Context, in *Protocol, out *BusinessReply) error
SendToCluster(ctx context.Context, in *ClusterReq, out *BusinessReply) error
SendToNodes(ctx context.Context, in *NodesReq, out *BusinessReply) error
}
@@ -154,10 +139,6 @@
func (h *aiotServiceHandler) SendAiotSyncReq(ctx context.Context, in *Protocol, out *BusinessReply) error {
return h.AiotServiceHandler.SendAiotSyncReq(ctx, in, out)
-}
-
-func (h *aiotServiceHandler) SendAiotAsyncReq(ctx context.Context, in *Protocol, out *BusinessReply) error {
- return h.AiotServiceHandler.SendAiotAsyncReq(ctx, in, out)
}
func (h *aiotServiceHandler) SendToCluster(ctx context.Context, in *ClusterReq, out *BusinessReply) error {
--
Gitblit v1.8.0