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

# Functions

PanicHandler catches panics to make sure that we recover from panics during GraphQL request execution and return an appropriate error.
QueryString gets the GraphQL query from a context.
RequestID gets the request ID from a context.
WithQueryString returns a new context where QueryString() returns query.
WithRequestID adds a HTTP middleware handler that sets a UUID as request ID into the handler chain.