| 316 | } |
| 317 | |
| 318 | func _NodeService_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 319 | in := new(Empty) |
| 320 | if err := dec(in); err != nil { |
| 321 | return nil, err |
| 322 | } |
| 323 | if interceptor == nil { |
| 324 | return srv.(NodeServiceServer).Stop(ctx, in) |
| 325 | } |
| 326 | info := &grpc.UnaryServerInfo{ |
| 327 | Server: srv, |
| 328 | FullMethod: NodeService_Stop_FullMethodName, |
| 329 | } |
| 330 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 331 | return srv.(NodeServiceServer).Stop(ctx, req.(*Empty)) |
| 332 | } |
| 333 | return interceptor(ctx, in, info, handler) |
| 334 | } |
| 335 | |
| 336 | func _NodeService_GetBaseInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 337 | in := new(Empty) |