package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev

# Functions

AuthGuardianOfTheGalaxy authorizes the operations for the users who belong to the guardians group in the galaxy namespace.
AuthorizeGuardians authorizes the operation for users which belong to Guardians group.
GetGQLSchema queries for the GraphQL schema node, and returns the uid and the GraphQL schema.
upserts the Groot account.
InsertDropRecord is used to insert a helper record when a DROP operation is performed.
PeriodicallyPostTelemetry periodically reports telemetry data for alpha.
ProcessPersistedQuery stores and retrieves persisted queries by following waterfall logic: 1.
SubscribeForAclUpdates subscribes for ACL predicates and updates the acl cache.
UpdateGQLSchema updates the GraphQL and Dgraph schemas using the given inputs.

# Constants

Authorize is used to set if the request requires validation.
IsGraphql is used to validate requests which are allowed to mutate GraphQL reserved predicates, like dgraph.graphql.schema and dgraph.graphql.xid.
NeedAuthorize is used to indicate that the request needs to be authorized.
NoAuthorize is used to indicate that authorization needs to be skipped.

# Structs

Request represents a query request sent to the doQuery() method on the Server.
Server implements protos.DgraphServer.

# Type aliases