feat: user improve
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 32s
CI / admin (push) Successful in 26s
CI / analysis (push) Successful in 28s
CI / bff (push) Successful in 23s
CI / chore (push) Successful in 24s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 21s
CI / factory (push) Successful in 18s
CI / message (push) Successful in 18s
CI / order (push) Successful in 21s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 19s
CI / product (push) Successful in 21s
CI / record (push) Successful in 21s
CI / sale (push) Successful in 20s
CI / store (push) Successful in 25s
CI / support (push) Successful in 21s
CI / task (push) Successful in 20s
CI / user (push) Successful in 22s
CI / water (push) Successful in 20s
CI / wecom (push) Successful in 21s
CI / ws (push) Successful in 8s
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 32s
CI / admin (push) Successful in 26s
CI / analysis (push) Successful in 28s
CI / bff (push) Successful in 23s
CI / chore (push) Successful in 24s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 21s
CI / factory (push) Successful in 18s
CI / message (push) Successful in 18s
CI / order (push) Successful in 21s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 19s
CI / product (push) Successful in 21s
CI / record (push) Successful in 21s
CI / sale (push) Successful in 20s
CI / store (push) Successful in 25s
CI / support (push) Successful in 21s
CI / task (push) Successful in 20s
CI / user (push) Successful in 22s
CI / water (push) Successful in 20s
CI / wecom (push) Successful in 21s
CI / ws (push) Successful in 8s
This commit is contained in:
@@ -1696,6 +1696,7 @@ const (
|
||||
AnalysisDevice_Policy_FullMethodName = "/analysis.AnalysisDevice/Policy"
|
||||
AnalysisDevice_Display_FullMethodName = "/analysis.AnalysisDevice/Display"
|
||||
AnalysisDevice_OssCallback_FullMethodName = "/analysis.AnalysisDevice/OssCallback"
|
||||
AnalysisDevice_PyCallback_FullMethodName = "/analysis.AnalysisDevice/PyCallback"
|
||||
)
|
||||
|
||||
// AnalysisDeviceClient is the client API for AnalysisDevice service.
|
||||
@@ -1705,6 +1706,7 @@ type AnalysisDeviceClient interface {
|
||||
Policy(ctx context.Context, in *DevicePolicyReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Display(ctx context.Context, in *DeviceDisplayReq, opts ...grpc.CallOption) (*Response, error)
|
||||
OssCallback(ctx context.Context, in *OssCallbackReq, opts ...grpc.CallOption) (*OssCallbackResp, error)
|
||||
PyCallback(ctx context.Context, in *PyCallbackReq, opts ...grpc.CallOption) (*Response, error)
|
||||
}
|
||||
|
||||
type analysisDeviceClient struct {
|
||||
@@ -1745,6 +1747,16 @@ func (c *analysisDeviceClient) OssCallback(ctx context.Context, in *OssCallbackR
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisDeviceClient) PyCallback(ctx context.Context, in *PyCallbackReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, AnalysisDevice_PyCallback_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// AnalysisDeviceServer is the server API for AnalysisDevice service.
|
||||
// All implementations must embed UnimplementedAnalysisDeviceServer
|
||||
// for forward compatibility.
|
||||
@@ -1752,6 +1764,7 @@ type AnalysisDeviceServer interface {
|
||||
Policy(context.Context, *DevicePolicyReq) (*Response, error)
|
||||
Display(context.Context, *DeviceDisplayReq) (*Response, error)
|
||||
OssCallback(context.Context, *OssCallbackReq) (*OssCallbackResp, error)
|
||||
PyCallback(context.Context, *PyCallbackReq) (*Response, error)
|
||||
mustEmbedUnimplementedAnalysisDeviceServer()
|
||||
}
|
||||
|
||||
@@ -1771,6 +1784,9 @@ func (UnimplementedAnalysisDeviceServer) Display(context.Context, *DeviceDisplay
|
||||
func (UnimplementedAnalysisDeviceServer) OssCallback(context.Context, *OssCallbackReq) (*OssCallbackResp, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method OssCallback not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisDeviceServer) PyCallback(context.Context, *PyCallbackReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method PyCallback not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisDeviceServer) mustEmbedUnimplementedAnalysisDeviceServer() {}
|
||||
func (UnimplementedAnalysisDeviceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -1846,6 +1862,24 @@ func _AnalysisDevice_OssCallback_Handler(srv interface{}, ctx context.Context, d
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _AnalysisDevice_PyCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PyCallbackReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisDeviceServer).PyCallback(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: AnalysisDevice_PyCallback_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisDeviceServer).PyCallback(ctx, req.(*PyCallbackReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// AnalysisDevice_ServiceDesc is the grpc.ServiceDesc for AnalysisDevice service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@@ -1865,6 +1899,10 @@ var AnalysisDevice_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "OssCallback",
|
||||
Handler: _AnalysisDevice_OssCallback_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "PyCallback",
|
||||
Handler: _AnalysisDevice_PyCallback_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "analysis/analysis.proto",
|
||||
|
||||
Reference in New Issue
Block a user