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_chunk.proto
|
||||
|
||||
package pb
|
||||
@@ -98,13 +98,13 @@ type FileChunkServiceServer interface {
|
||||
type UnimplementedFileChunkServiceServer struct{}
|
||||
|
||||
func (UnimplementedFileChunkServiceServer) CreateFileChunk(context.Context, *CreateFileChunkRequest) (*CreateFileChunkResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateFileChunk not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateFileChunk not implemented")
|
||||
}
|
||||
func (UnimplementedFileChunkServiceServer) FindAllFileChunkIds(context.Context, *FindAllFileChunkIdsRequest) (*FindAllFileChunkIdsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllFileChunkIds not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAllFileChunkIds not implemented")
|
||||
}
|
||||
func (UnimplementedFileChunkServiceServer) DownloadFileChunk(context.Context, *DownloadFileChunkRequest) (*DownloadFileChunkResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DownloadFileChunk not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DownloadFileChunk not implemented")
|
||||
}
|
||||
func (UnimplementedFileChunkServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -116,7 +116,7 @@ type UnsafeFileChunkServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterFileChunkServiceServer(s grpc.ServiceRegistrar, srv FileChunkServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedFileChunkServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedFileChunkServiceServer 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