(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 163 | } |
| 164 | |
| 165 | func _Worker_GetIMDData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 166 | in := new(IMDLoc) |
| 167 | if err := dec(in); err != nil { |
| 168 | return nil, err |
| 169 | } |
| 170 | if interceptor == nil { |
| 171 | return srv.(WorkerServer).GetIMDData(ctx, in) |
| 172 | } |
| 173 | info := &grpc.UnaryServerInfo{ |
| 174 | Server: srv, |
| 175 | FullMethod: "/Worker/GetIMDData", |
| 176 | } |
| 177 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 178 | return srv.(WorkerServer).GetIMDData(ctx, req.(*IMDLoc)) |
| 179 | } |
| 180 | return interceptor(ctx, in, info, handler) |
| 181 | } |
| 182 | |
| 183 | func _Worker_End_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 184 | in := new(Empty) |
nothing calls this directly
no test coverage detected