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_metric_stat.proto
package pb
@@ -98,13 +98,13 @@ type MetricStatServiceServer interface {
type UnimplementedMetricStatServiceServer struct{}
func (UnimplementedMetricStatServiceServer) UploadMetricStats(context.Context, *UploadMetricStatsRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UploadMetricStats not implemented")
return nil, status.Error(codes.Unimplemented, "method UploadMetricStats not implemented")
}
func (UnimplementedMetricStatServiceServer) CountMetricStats(context.Context, *CountMetricStatsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountMetricStats not implemented")
return nil, status.Error(codes.Unimplemented, "method CountMetricStats not implemented")
}
func (UnimplementedMetricStatServiceServer) ListMetricStats(context.Context, *ListMetricStatsRequest) (*ListMetricStatsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListMetricStats not implemented")
return nil, status.Error(codes.Unimplemented, "method ListMetricStats not implemented")
}
func (UnimplementedMetricStatServiceServer) testEmbeddedByValue() {}
@@ -116,7 +116,7 @@ type UnsafeMetricStatServiceServer interface {
}
func RegisterMetricStatServiceServer(s grpc.ServiceRegistrar, srv MetricStatServiceServer) {
// If the following call pancis, it indicates UnimplementedMetricStatServiceServer was
// If the following call panics, it indicates UnimplementedMetricStatServiceServer 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.