v1.5.1 增强程序稳定性

This commit is contained in:
robin
2026-03-22 17:37:40 +08:00
parent afbaaa869c
commit 17e182b413
652 changed files with 22949 additions and 34397 deletions

View File

@@ -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_plan.proto
package pb
@@ -203,34 +203,34 @@ type PlanServiceServer interface {
type UnimplementedPlanServiceServer struct{}
func (UnimplementedPlanServiceServer) CreatePlan(context.Context, *CreatePlanRequest) (*CreatePlanResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreatePlan not implemented")
return nil, status.Error(codes.Unimplemented, "method CreatePlan not implemented")
}
func (UnimplementedPlanServiceServer) UpdatePlan(context.Context, *UpdatePlanRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdatePlan not implemented")
return nil, status.Error(codes.Unimplemented, "method UpdatePlan not implemented")
}
func (UnimplementedPlanServiceServer) DeletePlan(context.Context, *DeletePlanRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeletePlan not implemented")
return nil, status.Error(codes.Unimplemented, "method DeletePlan not implemented")
}
func (UnimplementedPlanServiceServer) FindEnabledPlan(context.Context, *FindEnabledPlanRequest) (*FindEnabledPlanResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledPlan not implemented")
return nil, status.Error(codes.Unimplemented, "method FindEnabledPlan not implemented")
}
func (UnimplementedPlanServiceServer) FindBasicPlan(context.Context, *FindBasicPlanRequest) (*FindBasicPlanResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindBasicPlan not implemented")
return nil, status.Error(codes.Unimplemented, "method FindBasicPlan not implemented")
}
func (UnimplementedPlanServiceServer) CountAllEnabledPlans(context.Context, *CountAllEnabledPlansRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledPlans not implemented")
return nil, status.Error(codes.Unimplemented, "method CountAllEnabledPlans not implemented")
}
func (UnimplementedPlanServiceServer) ListEnabledPlans(context.Context, *ListEnabledPlansRequest) (*ListEnabledPlansResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledPlans not implemented")
return nil, status.Error(codes.Unimplemented, "method ListEnabledPlans not implemented")
}
func (UnimplementedPlanServiceServer) FindAllAvailablePlans(context.Context, *FindAllAvailablePlansRequest) (*FindAllAvailablePlansResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllAvailablePlans not implemented")
return nil, status.Error(codes.Unimplemented, "method FindAllAvailablePlans not implemented")
}
func (UnimplementedPlanServiceServer) FindAllAvailableBasicPlans(context.Context, *FindAllAvailableBasicPlansRequest) (*FindAllAvailableBasicPlansResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllAvailableBasicPlans not implemented")
return nil, status.Error(codes.Unimplemented, "method FindAllAvailableBasicPlans not implemented")
}
func (UnimplementedPlanServiceServer) SortPlans(context.Context, *SortPlansRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method SortPlans not implemented")
return nil, status.Error(codes.Unimplemented, "method SortPlans not implemented")
}
func (UnimplementedPlanServiceServer) testEmbeddedByValue() {}
@@ -242,7 +242,7 @@ type UnsafePlanServiceServer interface {
}
func RegisterPlanServiceServer(s grpc.ServiceRegistrar, srv PlanServiceServer) {
// If the following call pancis, it indicates UnimplementedPlanServiceServer was
// If the following call panics, it indicates UnimplementedPlanServiceServer 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.