MCPcopy
hub / github.com/dgraph-io/dgraph / response

Function response

graphql/admin/admin.go:1055–1058  ·  view source on GitHub ↗
(code, msg string)

Source from the content-addressed store, hash-verified

1053}
1054
1055func response(code, msg string) map[string]interface{} {
1056 return map[string]interface{}{
1057 "response": map[string]interface{}{"code": code, "message": msg}}
1058}
1059
1060// DestinationFields is used by both export and backup to specify destination
1061type DestinationFields struct {

Callers 7

resolveBackupFunction · 0.85
resolveExportFunction · 0.85
resolveDrainingFunction · 0.85
resolveMoveTabletFunction · 0.85
resolveRemoveNodeFunction · 0.85
resolveShutdownFunction · 0.85
resolveUpdateConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected