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

Function LambdaUrl

x/x.go:1548–1551  ·  view source on GitHub ↗

LambdaUrl returns the correct lambda-url for the given namespace

(ns uint64)

Source from the content-addressed store, hash-verified

1546
1547// LambdaUrl returns the correct lambda-url for the given namespace
1548func LambdaUrl(ns uint64) string {
1549 return strings.Replace(Config.GraphQL.GetString("lambda-url"), "$ns", strconv.FormatUint(ns,
1550 10), 1)
1551}
1552
1553// IsJwtExpired returns true if the error indicates that the jwt has expired.
1554func IsJwtExpired(err error) bool {

Callers 4

sendWebhookEventFunction · 0.92
lambdaOnMutateValidationFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected