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_ns_plan.proto
|
||||
|
||||
package pb
|
||||
@@ -158,25 +158,25 @@ type NSPlanServiceServer interface {
|
||||
type UnimplementedNSPlanServiceServer struct{}
|
||||
|
||||
func (UnimplementedNSPlanServiceServer) CreateNSPlan(context.Context, *CreateNSPlanRequest) (*CreateNSPlanResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNSPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateNSPlan not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) UpdateNSPlan(context.Context, *UpdateNSPlanRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSPlan not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) SortNSPlanOrders(context.Context, *SortNSPlansRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SortNSPlanOrders not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method SortNSPlanOrders not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) FindAllNSPlans(context.Context, *FindAllNSPlansRequest) (*FindAllNSPlansResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllNSPlans not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllNSPlans not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) FindAllEnabledNSPlans(context.Context, *FindAllEnabledNSPlansRequest) (*FindAllEnabledNSPlansResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNSPlans not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllEnabledNSPlans not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) FindNSPlan(context.Context, *FindNSPlanRequest) (*FindNSPlanResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSPlan not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) DeleteNSPlan(context.Context, *DeleteNSPlanRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNSPlan not implemented")
|
||||
}
|
||||
func (UnimplementedNSPlanServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -188,7 +188,7 @@ type UnsafeNSPlanServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNSPlanServiceServer(s grpc.ServiceRegistrar, srv NSPlanServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNSPlanServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNSPlanServiceServer 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