MCPcopy Create free account
hub / github.com/couchbase/cbft / changeQueryMapFormat

Method changeQueryMapFormat

query_supervisor.go:377–384  ·  view source on GitHub ↗
(
	input map[uint64]*RunningQueryDetails)

Source from the content-addressed store, hash-verified

375}
376
377func (qss *QuerySupervisorDetails) changeQueryMapFormat(
378 input map[uint64]*RunningQueryDetails) map[string]*RunningQueryDetails {
379 output := make(map[string]*RunningQueryDetails)
380 for k, v := range input {
381 output[fmt.Sprintf("%v", k)] = v
382 }
383 return output
384}
385
386func (qss *QuerySupervisorDetails) ServeHTTP(
387 w http.ResponseWriter, req *http.Request) {

Callers 1

ServeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected