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_file.proto
|
||||
|
||||
package pb
|
||||
@@ -98,13 +98,13 @@ type FileServiceServer interface {
|
||||
type UnimplementedFileServiceServer struct{}
|
||||
|
||||
func (UnimplementedFileServiceServer) FindEnabledFile(context.Context, *FindEnabledFileRequest) (*FindEnabledFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledFile not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindEnabledFile not implemented")
|
||||
}
|
||||
func (UnimplementedFileServiceServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateFile not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateFile not implemented")
|
||||
}
|
||||
func (UnimplementedFileServiceServer) UpdateFileFinished(context.Context, *UpdateFileFinishedRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateFileFinished not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateFileFinished not implemented")
|
||||
}
|
||||
func (UnimplementedFileServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -116,7 +116,7 @@ type UnsafeFileServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedFileServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedFileServiceServer 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