v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc v6.33.2
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.19.6
|
||||
// source: service_node_threshold.proto
|
||||
|
||||
package pb
|
||||
@@ -143,22 +143,22 @@ type NodeThresholdServiceServer interface {
|
||||
type UnimplementedNodeThresholdServiceServer struct{}
|
||||
|
||||
func (UnimplementedNodeThresholdServiceServer) CreateNodeThreshold(context.Context, *CreateNodeThresholdRequest) (*CreateNodeThresholdResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeThreshold not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateNodeThreshold not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) UpdateNodeThreshold(context.Context, *UpdateNodeThresholdRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeThreshold not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNodeThreshold not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) DeleteNodeThreshold(context.Context, *DeleteNodeThresholdRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNodeThreshold not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNodeThreshold not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) FindAllEnabledNodeThresholds(context.Context, *FindAllEnabledNodeThresholdsRequest) (*FindAllEnabledNodeThresholdsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodeThresholds not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllEnabledNodeThresholds not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) CountAllEnabledNodeThresholds(context.Context, *CountAllEnabledNodeThresholdsRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeThresholds not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllEnabledNodeThresholds not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) FindEnabledNodeThreshold(context.Context, *FindEnabledNodeThresholdRequest) (*FindEnabledNodeThresholdResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodeThreshold not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindEnabledNodeThreshold not implemented")
|
||||
}
|
||||
func (UnimplementedNodeThresholdServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -170,7 +170,7 @@ type UnsafeNodeThresholdServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNodeThresholdServiceServer(s grpc.ServiceRegistrar, srv NodeThresholdServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNodeThresholdServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNodeThresholdServiceServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
Reference in New Issue
Block a user