package
1.0.11-rc3
Repository: https://github.com/orijtech/dgraph.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AddInit adds a function to be run in x.Init, which should be called at the beginning of all mains.
No description provided by the author
No description provided by the author
AssertTrue asserts that b is true.
AssertTruef is AssertTrue with extra info.
No description provided by the author
No description provided by the author
Check logs fatal if err != nil.
Check2 acts as convenience wrapper around Check, using the 2nd argument as error.
Checkf is Check with extra info.
No description provided by the author
No description provided by the author
No description provided by the author
Errorf creates a new error with stack trace, etc.
Fatalf logs fatal.
No description provided by the author
GenerateTLSConfig creates and returns a new *tls.Config with the configuration provided.
No description provided by the author
HealthCheck returns whether the server is ready to accept requests or not Load balancer would add the node to the endpoint once health check starts returning true.
Ignore function is used to ignore errors deliberately, while keeping the linter happy.
No description provided by the author
Init initializes flags and run all functions in initFunc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHistogram initializes a given Histogram.
NewThrottle creates a new throttle with a max number of workers.
No description provided by the author
No description provided by the author
PageRange returns start and end indices given pagination params.
Parse would parse the key.
No description provided by the author
PredicateLang extracts the language from a predicate (or facet) name.
PredicatePrefix returns the prefix for all keys belonging to this predicate except schema key.
PrintVersionOnly prints version and other helpful information if --version.
Reads a single line from a buffered reader.
No description provided by the author
sorts the slice of strings and removes duplicates.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchemaKey returns schema key for given attribute, schema keys are stored separately with unique prefix, since we need to iterate over all schema keys.
SchemaPrefix returns the prefix for Schema keys.
SetError sets the error logged in this package.
SetStatus sets the error code, message and the newly assigned uids in the http response.
In case an error was encountered after the query execution started, we have to return data key with null value according to GraphQL spec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateAddress checks whether given address can be used with grpc dial function.
Helper function, to decide value type of DirectedEdge/Posting/NQuad.
No description provided by the author
Wrap wraps errors from external lib.
Wrapf is Wrap with extra info.
WriteFileSync is the same as bufio.WriteFile, but syncs the data before closing.

# Constants

No description provided by the author
No description provided by the author
TODO(pawan) - Make this 2 bytes long.
No description provided by the author
No description provided by the author
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
If the difference between AppliedUntil - TxnMarks.DoneUntil() is greater than this, we start aborting old transactions.
Use the max possible grpc msg size for the most flexibility (4GB - equal to the max grpc frame size).
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
Error constants representing different types of errors.
The attr used to store list of predicates for a node.
When changing this value also remember to change in in client/client.go:DeleteEdges.
Error constants representing different types of errors.
No description provided by the author
No description provided by the author
Error constants representing different types of errors.
no UID and no value.
Value which is part of a multi-value posting list (like language).
plain old value without defined language tag.
UID.
unknown type of value.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
value at particular point of time.
These are cumulative.
No description provided by the author
No description provided by the author
WhiteSpace Replacer removes spaces and tabs from a string.

# Structs

No description provided by the author
A Histogram collects observed values by keeping bucketed counts.
No description provided by the author
No description provided by the author
No description provided by the author
SafeMutex can be used in place of sync.RWMutex.
No description provided by the author
No description provided by the author
Throttle allows a limited number of workers to run at a time.
No description provided by the author
TLSHelperConfig define params used to create a tls.Config.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author