LambdaUrl returns the correct lambda-url for the given namespace
(ns uint64)
| 1546 | |
| 1547 | // LambdaUrl returns the correct lambda-url for the given namespace |
| 1548 | func 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. |
| 1554 | func IsJwtExpired(err error) bool { |
no outgoing calls
no test coverage detected