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_cluster.proto
|
||||
|
||||
package pb
|
||||
@@ -473,88 +473,88 @@ type NSClusterServiceServer interface {
|
||||
type UnimplementedNSClusterServiceServer struct{}
|
||||
|
||||
func (UnimplementedNSClusterServiceServer) CreateNSCluster(context.Context, *CreateNSClusterRequest) (*CreateNSClusterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNSCluster not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateNSCluster not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSCluster(context.Context, *UpdateNSClusterRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSCluster not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSCluster not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterAccessLog(context.Context, *FindNSClusterAccessLogRequest) (*FindNSClusterAccessLogResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterAccessLog not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterAccessLog not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterAccessLog(context.Context, *UpdateNSClusterAccessLogRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterAccessLog not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterAccessLog not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) DeleteNSCluster(context.Context, *DeleteNSCluster) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSCluster not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNSCluster not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSCluster(context.Context, *FindNSClusterRequest) (*FindNSClusterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSCluster not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSCluster not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) CountAllNSClusters(context.Context, *CountAllNSClustersRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSClusters not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllNSClusters not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) ListNSClusters(context.Context, *ListNSClustersRequest) (*ListNSClustersResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListNSClusters not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListNSClusters not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindAllNSClusters(context.Context, *FindAllNSClustersRequest) (*FindAllNSClustersResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllNSClusters not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllNSClusters not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterRecursionConfig(context.Context, *UpdateNSClusterRecursionConfigRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterRecursionConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterRecursionConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterRecursionConfig(context.Context, *FindNSClusterRecursionConfigRequest) (*FindNSClusterRecursionConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterRecursionConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterRecursionConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterTCPConfig(context.Context, *FindNSClusterTCPConfigRequest) (*FindNSClusterTCPConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterTCPConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterTCPConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterTCP(context.Context, *UpdateNSClusterTCPRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterTCP not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterTCP not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterTLSConfig(context.Context, *FindNSClusterTLSConfigRequest) (*FindNSClusterTLSConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterTLSConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterTLSConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterTLS(context.Context, *UpdateNSClusterTLSRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterTLS not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterTLS not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterUDPConfig(context.Context, *FindNSClusterUDPConfigRequest) (*FindNSClusterUDPConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterUDPConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterUDPConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterUDP(context.Context, *UpdateNSClusterUDPRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterUDP not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterUDP not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterDoHConfig(context.Context, *FindNSClusterDoHConfigRequest) (*FindNSClusterDoHConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterDoHConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterDoHConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterDoH(context.Context, *UpdateNSClusterDoHRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterDoH not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterDoH not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) CountAllNSClustersWithSSLCertId(context.Context, *CountAllNSClustersWithSSLCertIdRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSClustersWithSSLCertId not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllNSClustersWithSSLCertId not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterDDoSProtection(context.Context, *FindNSClusterDDoSProtectionRequest) (*FindNSClusterDDoSProtectionResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterDDoSProtection not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterDDoSProtection not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterDDoSProtection(context.Context, *UpdateNSClusterDDoSProtectionRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterDDoSProtection not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterDDoSProtection not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterHosts(context.Context, *FindNSClusterHostsRequest) (*FindNSClusterHostsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterHosts not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterHosts not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindAvailableNSHostsForUser(context.Context, *FindAvailableNSHostsForUserRequest) (*FindAvailableNSHostsForUserResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAvailableNSHostsForUser not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAvailableNSHostsForUser not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterAnswerConfig(context.Context, *FindNSClusterAnswerConfigRequest) (*FindNSClusterAnswerConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterAnswerConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterAnswerConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterAnswerConfig(context.Context, *UpdateNSClusterAnswerConfigRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterAnswerConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterAnswerConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) FindNSClusterSOAConfig(context.Context, *FindNSClusterSOAConfigRequest) (*FindNSClusterSOAConfigResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterSOAConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSClusterSOAConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) UpdateNSClusterSOAConfig(context.Context, *UpdateNSClusterSOAConfigRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterSOAConfig not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSClusterSOAConfig not implemented")
|
||||
}
|
||||
func (UnimplementedNSClusterServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -566,7 +566,7 @@ type UnsafeNSClusterServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNSClusterServiceServer(s grpc.ServiceRegistrar, srv NSClusterServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNSClusterServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNSClusterServiceServer 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