MCPcopy
hub / github.com/uber/aresdb / JSONQueryResponseWriter

Struct JSONQueryResponseWriter

api/query_handler.go:311–314  ·  view source on GitHub ↗

JSONQueryResponseWriter writes query result as json.

Source from the content-addressed store, hash-verified

309
310// JSONQueryResponseWriter writes query result as json.
311type JSONQueryResponseWriter struct {
312 response queryCom.AQLResponse
313 statusCode int
314}
315
316// NewJSONQueryResponseWriter creates a new JSONQueryResponseWriter.
317func NewJSONQueryResponseWriter(nQueries int) QueryResponseWriter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected