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_user_plan.proto
|
||||
|
||||
package pb
|
||||
@@ -173,28 +173,28 @@ type UserPlanServiceServer interface {
|
||||
type UnimplementedUserPlanServiceServer struct{}
|
||||
|
||||
func (UnimplementedUserPlanServiceServer) BuyUserPlan(context.Context, *BuyUserPlanRequest) (*BuyUserPlanResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method BuyUserPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method BuyUserPlan not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) RenewUserPlan(context.Context, *RenewUserPlanRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method RenewUserPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method RenewUserPlan not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) FindEnabledUserPlan(context.Context, *FindEnabledUserPlanRequest) (*FindEnabledUserPlanResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledUserPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindEnabledUserPlan not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) UpdateUserPlan(context.Context, *UpdateUserPlanRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateUserPlan not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) DeleteUserPlan(context.Context, *DeleteUserPlanRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteUserPlan not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteUserPlan not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) CountAllEnabledUserPlans(context.Context, *CountAllEnabledUserPlansRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledUserPlans not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllEnabledUserPlans not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) ListEnabledUserPlans(context.Context, *ListEnabledUserPlansRequest) (*ListEnabledUserPlansResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledUserPlans not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListEnabledUserPlans not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) FindAllEnabledUserPlansForServer(context.Context, *FindAllEnabledUserPlansForServerRequest) (*FindAllEnabledUserPlansForServerResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledUserPlansForServer not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllEnabledUserPlansForServer not implemented")
|
||||
}
|
||||
func (UnimplementedUserPlanServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -206,7 +206,7 @@ type UnsafeUserPlanServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterUserPlanServiceServer(s grpc.ServiceRegistrar, srv UserPlanServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedUserPlanServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedUserPlanServiceServer 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