(returnHLL bool, nQueries int)
| 292 | } |
| 293 | |
| 294 | func getReponseWriter(returnHLL bool, nQueries int) QueryResponseWriter { |
| 295 | if returnHLL { |
| 296 | return NewHLLQueryResponseWriter() |
| 297 | } |
| 298 | return NewJSONQueryResponseWriter(nQueries) |
| 299 | } |
| 300 | |
| 301 | // QueryResponseWriter defines the interface to write query result and error to final response. |
| 302 | type QueryResponseWriter interface { |
no test coverage detected