From a5475a9dd19dee631a5dbdb4013213cb06d81fd3 Mon Sep 17 00:00:00 2001 From: fish <920886811@163.com> Date: Mon, 5 Dec 2022 22:52:17 +0800 Subject: [PATCH] mod: GetLastDailySignedInfo --- protos/online/online.pb.go | 147 ++++++++++++++++++------------------- protos/online/online.proto | 4 +- 2 files changed, 75 insertions(+), 76 deletions(-) diff --git a/protos/online/online.pb.go b/protos/online/online.pb.go index c70465d..40b4ec9 100644 --- a/protos/online/online.pb.go +++ b/protos/online/online.pb.go @@ -522,56 +522,55 @@ func init() { proto.RegisterFile("protos/online/online.proto", fileDescriptor_ee func init() { golang_proto.RegisterFile("protos/online/online.proto", fileDescriptor_ee5923c3111b600a) } var fileDescriptor_ee5923c3111b600a = []byte{ - // 774 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0xe3, 0x46, - 0x14, 0x67, 0x20, 0x04, 0xf2, 0x9c, 0x04, 0x18, 0x51, 0x48, 0xa3, 0xe2, 0xd0, 0x48, 0x95, 0x50, - 0x25, 0x9c, 0x36, 0x5c, 0x7a, 0xa8, 0x54, 0x85, 0x24, 0x85, 0xa8, 0x84, 0x44, 0xe3, 0x44, 0xaa, - 0x7a, 0xb1, 0x1c, 0x7b, 0xe2, 0x5a, 0x75, 0x3c, 0xc6, 0x33, 0x41, 0xca, 0xb7, 0xe8, 0xad, 0xfd, - 0x08, 0xfd, 0x06, 0xbd, 0xf6, 0xc8, 0xb1, 0x9f, 0xa0, 0xad, 0xe0, 0xde, 0xdb, 0xde, 0x57, 0x33, - 0xb6, 0x89, 0x57, 0x02, 0x69, 0x57, 0xda, 0x4b, 0x32, 0xef, 0xcd, 0x7b, 0x6f, 0x7e, 0x7f, 0x3c, - 0x03, 0xf5, 0x28, 0x66, 0x82, 0xf1, 0x16, 0x0b, 0x03, 0x3f, 0xa4, 0xe9, 0x9f, 0xa1, 0x92, 0x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xce, 0xdf, 0xb1, 0xfa, 0x71, 0xde, 0xf9, 0x7c, 0x43, 0x0f, 0xea, 0x3d, 0x96, - 0x3c, 0x2b, 0xc2, 0x16, 0x4b, 0x4e, 0x68, 0xc4, 0x62, 0x71, 0x6d, 0x87, 0x6e, 0x40, 0xe3, 0x57, - 0xc7, 0x55, 0x73, 0xe3, 0xe4, 0x1b, 0xf3, 0x23, 0x9c, 0x5c, 0x51, 0xf1, 0xc2, 0x0b, 0x95, 0x0d, - 0xd2, 0x73, 0x83, 0x5e, 0x28, 0x7b, 0x15, 0xdf, 0xe5, 0x77, 0x0f, 0x8f, 0x3a, 0xfa, 0xfb, 0x51, - 0x47, 0xff, 0x3d, 0xea, 0xe8, 0xf7, 0x27, 0x1d, 0xfd, 0xf5, 0xa4, 0xa3, 0x87, 0x27, 0x1d, 0x41, - 0xd5, 0x67, 0x86, 0x7c, 0x8f, 0xd3, 0xce, 0x4b, 0x2d, 0x91, 0x67, 0x2c, 0x2f, 0xcb, 0x18, 0xfd, - 0x94, 0xbe, 0xe4, 0xb3, 0xa2, 0xba, 0x3d, 0x17, 0x6f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x1b, - 0x2f, 0xfd, 0xf6, 0x05, 0x00, 0x00, + // 768 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xe2, 0x46, + 0x14, 0xcf, 0x24, 0x84, 0x84, 0x67, 0x20, 0xc9, 0x34, 0x25, 0x14, 0xb5, 0x26, 0x45, 0xaa, 0x14, + 0x55, 0x8a, 0x69, 0xc9, 0xa5, 0x87, 0x56, 0x15, 0x01, 0x9a, 0xa2, 0x86, 0x40, 0xc7, 0x70, 0xe9, + 0xc5, 0x32, 0xf6, 0xe0, 0x5a, 0x05, 0x8f, 0xe3, 0x19, 0x22, 0xf1, 0x2d, 0x7a, 0x6b, 0x3f, 0xc2, + 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x4c, 0xb6, 0x36, 0xf1, 0x01, 0x94, 0xc6, 0xfd, 0x41, 0x6f, 0x38, 0x49, + 0xab, 0xb7, 0xf0, 0x1e, 0x68, 0xc3, 0xf1, 0xef, 0x3d, 0x92, 0x24, 0x0e, 0x5b, 0x6f, 0x11, 0x94, + 0x86, 0x4a, 0x71, 0x93, 0x46, 0x37, 0xbe, 0x43, 0x71, 0x17, 0x0e, 0x26, 0xa1, 0x6b, 0x0b, 0x9a, + 0xf5, 0xbb, 0xb2, 0x76, 0x38, 0x7b, 0xc7, 0x6a, 0x47, 0x59, 0xe7, 0xb3, 0x0d, 0xbf, 0xc0, 0x17, + 0x5d, 0x16, 0x3f, 0x2b, 0xc2, 0x16, 0x4b, 0x4e, 0x68, 0xc8, 0x22, 0xf1, 0xe4, 0x9c, 0x72, 0x66, + 0x8e, 0x7c, 0x5c, 0xfe, 0x84, 0xca, 0x05, 0x15, 0x8f, 0x3d, 0x4d, 0x7a, 0x66, 0xc2, 0x23, 0xfb, + 0x4f, 0x22, 0x3a, 0xff, 0xf5, 0xf6, 0x4e, 0x47, 0x2f, 0xef, 0x74, 0xf4, 0xe6, 0x4e, 0x47, 0xff, + 0xdf, 0xeb, 0xe8, 0xc5, 0xbd, 0x8e, 0x6e, 0xef, 0x75, 0x04, 0x65, 0x9f, 0x19, 0xf2, 0x05, 0x4e, + 0x3a, 0xcf, 0xb5, 0x58, 0x90, 0x91, 0xbc, 0x1e, 0x23, 0xf4, 0x57, 0xf2, 0x76, 0x4f, 0xf3, 0xea, + 0xbe, 0x9c, 0xbd, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x56, 0x2c, 0xea, 0x04, 0xe8, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -587,8 +586,8 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type OnlineServiceClient interface { UpdateSignMetrics(ctx context.Context, in *ReqSignMetrics, opts ...grpc.CallOption) (*RespSignMetrics, error) - DoDailyStatusReportHandler(ctx context.Context, in *ReqSignMetrics, opts ...grpc.CallOption) (*Result, error) - GetLastDailySignedInfoHandler(ctx context.Context, in *ReqLastDailySignedInfo, opts ...grpc.CallOption) (*RespSignMetrics, error) + DoDailyStatusReport(ctx context.Context, in *ReqSignMetrics, opts ...grpc.CallOption) (*Result, error) + GetLastDailySignedInfo(ctx context.Context, in *ReqLastDailySignedInfo, opts ...grpc.CallOption) (*RespSignMetrics, error) } type onlineServiceClient struct { @@ -608,18 +607,18 @@ func (c *onlineServiceClient) UpdateSignMetrics(ctx context.Context, in *ReqSign return out, nil } -func (c *onlineServiceClient) DoDailyStatusReportHandler(ctx context.Context, in *ReqSignMetrics, opts ...grpc.CallOption) (*Result, error) { +func (c *onlineServiceClient) DoDailyStatusReport(ctx context.Context, in *ReqSignMetrics, opts ...grpc.CallOption) (*Result, error) { out := new(Result) - err := c.cc.Invoke(ctx, "/online.OnlineService/DoDailyStatusReportHandler", in, out, opts...) + err := c.cc.Invoke(ctx, "/online.OnlineService/DoDailyStatusReport", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *onlineServiceClient) GetLastDailySignedInfoHandler(ctx context.Context, in *ReqLastDailySignedInfo, opts ...grpc.CallOption) (*RespSignMetrics, error) { +func (c *onlineServiceClient) GetLastDailySignedInfo(ctx context.Context, in *ReqLastDailySignedInfo, opts ...grpc.CallOption) (*RespSignMetrics, error) { out := new(RespSignMetrics) - err := c.cc.Invoke(ctx, "/online.OnlineService/GetLastDailySignedInfoHandler", in, out, opts...) + err := c.cc.Invoke(ctx, "/online.OnlineService/GetLastDailySignedInfo", in, out, opts...) if err != nil { return nil, err } @@ -629,8 +628,8 @@ func (c *onlineServiceClient) GetLastDailySignedInfoHandler(ctx context.Context, // OnlineServiceServer is the server API for OnlineService service. type OnlineServiceServer interface { UpdateSignMetrics(context.Context, *ReqSignMetrics) (*RespSignMetrics, error) - DoDailyStatusReportHandler(context.Context, *ReqSignMetrics) (*Result, error) - GetLastDailySignedInfoHandler(context.Context, *ReqLastDailySignedInfo) (*RespSignMetrics, error) + DoDailyStatusReport(context.Context, *ReqSignMetrics) (*Result, error) + GetLastDailySignedInfo(context.Context, *ReqLastDailySignedInfo) (*RespSignMetrics, error) } // UnimplementedOnlineServiceServer can be embedded to have forward compatible implementations. @@ -640,11 +639,11 @@ type UnimplementedOnlineServiceServer struct { func (*UnimplementedOnlineServiceServer) UpdateSignMetrics(ctx context.Context, req *ReqSignMetrics) (*RespSignMetrics, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSignMetrics not implemented") } -func (*UnimplementedOnlineServiceServer) DoDailyStatusReportHandler(ctx context.Context, req *ReqSignMetrics) (*Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method DoDailyStatusReportHandler not implemented") +func (*UnimplementedOnlineServiceServer) DoDailyStatusReport(ctx context.Context, req *ReqSignMetrics) (*Result, error) { + return nil, status.Errorf(codes.Unimplemented, "method DoDailyStatusReport not implemented") } -func (*UnimplementedOnlineServiceServer) GetLastDailySignedInfoHandler(ctx context.Context, req *ReqLastDailySignedInfo) (*RespSignMetrics, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLastDailySignedInfoHandler not implemented") +func (*UnimplementedOnlineServiceServer) GetLastDailySignedInfo(ctx context.Context, req *ReqLastDailySignedInfo) (*RespSignMetrics, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLastDailySignedInfo not implemented") } func RegisterOnlineServiceServer(s *grpc.Server, srv OnlineServiceServer) { @@ -669,38 +668,38 @@ func _OnlineService_UpdateSignMetrics_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } -func _OnlineService_DoDailyStatusReportHandler_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OnlineService_DoDailyStatusReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReqSignMetrics) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OnlineServiceServer).DoDailyStatusReportHandler(ctx, in) + return srv.(OnlineServiceServer).DoDailyStatusReport(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/online.OnlineService/DoDailyStatusReportHandler", + FullMethod: "/online.OnlineService/DoDailyStatusReport", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OnlineServiceServer).DoDailyStatusReportHandler(ctx, req.(*ReqSignMetrics)) + return srv.(OnlineServiceServer).DoDailyStatusReport(ctx, req.(*ReqSignMetrics)) } return interceptor(ctx, in, info, handler) } -func _OnlineService_GetLastDailySignedInfoHandler_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OnlineService_GetLastDailySignedInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReqLastDailySignedInfo) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OnlineServiceServer).GetLastDailySignedInfoHandler(ctx, in) + return srv.(OnlineServiceServer).GetLastDailySignedInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/online.OnlineService/GetLastDailySignedInfoHandler", + FullMethod: "/online.OnlineService/GetLastDailySignedInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OnlineServiceServer).GetLastDailySignedInfoHandler(ctx, req.(*ReqLastDailySignedInfo)) + return srv.(OnlineServiceServer).GetLastDailySignedInfo(ctx, req.(*ReqLastDailySignedInfo)) } return interceptor(ctx, in, info, handler) } @@ -714,12 +713,12 @@ var _OnlineService_serviceDesc = grpc.ServiceDesc{ Handler: _OnlineService_UpdateSignMetrics_Handler, }, { - MethodName: "DoDailyStatusReportHandler", - Handler: _OnlineService_DoDailyStatusReportHandler_Handler, + MethodName: "DoDailyStatusReport", + Handler: _OnlineService_DoDailyStatusReport_Handler, }, { - MethodName: "GetLastDailySignedInfoHandler", - Handler: _OnlineService_GetLastDailySignedInfoHandler_Handler, + MethodName: "GetLastDailySignedInfo", + Handler: _OnlineService_GetLastDailySignedInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/protos/online/online.proto b/protos/online/online.proto index f8557d6..5f54529 100644 --- a/protos/online/online.proto +++ b/protos/online/online.proto @@ -22,8 +22,8 @@ import "google/protobuf/timestamp.proto"; service OnlineService { rpc UpdateSignMetrics(ReqSignMetrics) returns (RespSignMetrics); - rpc DoDailyStatusReportHandler(ReqSignMetrics) returns (Result); - rpc GetLastDailySignedInfoHandler(ReqLastDailySignedInfo) returns (RespSignMetrics); + rpc DoDailyStatusReport(ReqSignMetrics) returns (Result); + rpc GetLastDailySignedInfo(ReqLastDailySignedInfo) returns (RespSignMetrics); } message ReqLastDailySignedInfo {