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_node_grant.proto
package pb
@@ -188,31 +188,31 @@ type NodeGrantServiceServer interface {
type UnimplementedNodeGrantServiceServer struct{}
func (UnimplementedNodeGrantServiceServer) CreateNodeGrant(context.Context, *CreateNodeGrantRequest) (*CreateNodeGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeGrant not implemented")
return nil, status.Error(codes.Unimplemented, "method CreateNodeGrant not implemented")
}
func (UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *UpdateNodeGrantRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeGrant not implemented")
return nil, status.Error(codes.Unimplemented, "method UpdateNodeGrant not implemented")
}
func (UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisableNodeGrant not implemented")
return nil, status.Error(codes.Unimplemented, "method DisableNodeGrant not implemented")
}
func (UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented")
return nil, status.Error(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented")
}
func (UnimplementedNodeGrantServiceServer) ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledNodeGrants not implemented")
return nil, status.Error(codes.Unimplemented, "method ListEnabledNodeGrants not implemented")
}
func (UnimplementedNodeGrantServiceServer) FindAllEnabledNodeGrants(context.Context, *FindAllEnabledNodeGrantsRequest) (*FindAllEnabledNodeGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodeGrants not implemented")
return nil, status.Error(codes.Unimplemented, "method FindAllEnabledNodeGrants not implemented")
}
func (UnimplementedNodeGrantServiceServer) FindEnabledNodeGrant(context.Context, *FindEnabledNodeGrantRequest) (*FindEnabledNodeGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodeGrant not implemented")
return nil, status.Error(codes.Unimplemented, "method FindEnabledNodeGrant not implemented")
}
func (UnimplementedNodeGrantServiceServer) TestNodeGrant(context.Context, *TestNodeGrantRequest) (*TestNodeGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestNodeGrant not implemented")
return nil, status.Error(codes.Unimplemented, "method TestNodeGrant not implemented")
}
func (UnimplementedNodeGrantServiceServer) FindSuggestNodeGrants(context.Context, *FindSuggestNodeGrantsRequest) (*FindSuggestNodeGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindSuggestNodeGrants not implemented")
return nil, status.Error(codes.Unimplemented, "method FindSuggestNodeGrants not implemented")
}
func (UnimplementedNodeGrantServiceServer) testEmbeddedByValue() {}
@@ -224,7 +224,7 @@ type UnsafeNodeGrantServiceServer interface {
}
func RegisterNodeGrantServiceServer(s grpc.ServiceRegistrar, srv NodeGrantServiceServer) {
// If the following call pancis, it indicates UnimplementedNodeGrantServiceServer was
// If the following call panics, it indicates UnimplementedNodeGrantServiceServer 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.