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.proto
|
||||
|
||||
package pb
|
||||
@@ -83,10 +83,10 @@ type NSServiceServer interface {
|
||||
type UnimplementedNSServiceServer struct{}
|
||||
|
||||
func (UnimplementedNSServiceServer) ComposeNSBoard(context.Context, *ComposeNSBoardRequest) (*ComposeNSBoardResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ComposeNSBoard not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ComposeNSBoard not implemented")
|
||||
}
|
||||
func (UnimplementedNSServiceServer) ComposeNSUserBoard(context.Context, *ComposeNSUserBoardRequest) (*ComposeNSUserBoardResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ComposeNSUserBoard not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ComposeNSUserBoard not implemented")
|
||||
}
|
||||
func (UnimplementedNSServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -98,7 +98,7 @@ type UnsafeNSServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNSServiceServer(s grpc.ServiceRegistrar, srv NSServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNSServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNSServiceServer 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