RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn)
| 576 | // RegisterQueryHandler registers the http handlers for service Query to "mux". |
| 577 | // The handlers forward requests to the grpc endpoint over "conn". |
| 578 | func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { |
| 579 | return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) |
| 580 | } |
| 581 | |
| 582 | // RegisterQueryHandlerClient registers the http handlers for service Query |
| 583 | // to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". |
no test coverage detected