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_key.proto
|
||||
|
||||
package pb
|
||||
@@ -158,25 +158,25 @@ type NSKeyServiceServer interface {
|
||||
type UnimplementedNSKeyServiceServer struct{}
|
||||
|
||||
func (UnimplementedNSKeyServiceServer) CreateNSKey(context.Context, *CreateNSKeyRequest) (*CreateNSKeyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNSKey not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateNSKey not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) UpdateNSKey(context.Context, *UpdateNSKeyRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSKey not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNSKey not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) DeleteNSKey(context.Context, *DeleteNSKeyRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSKey not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNSKey not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) FindNSKey(context.Context, *FindNSKeyRequest) (*FindNSKeyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNSKey not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNSKey not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) CountAllNSKeys(context.Context, *CountAllNSKeysRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSKeys not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllNSKeys not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) ListNSKeys(context.Context, *ListNSKeysRequest) (*ListNSKeysResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListNSKeys not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListNSKeys not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) ListNSKeysAfterVersion(context.Context, *ListNSKeysAfterVersionRequest) (*ListNSKeysAfterVersionResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListNSKeysAfterVersion not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListNSKeysAfterVersion not implemented")
|
||||
}
|
||||
func (UnimplementedNSKeyServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -188,7 +188,7 @@ type UnsafeNSKeyServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNSKeyServiceServer(s grpc.ServiceRegistrar, srv NSKeyServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNSKeyServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNSKeyServiceServer 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