WithDefaultResolver updates the resolver used for the package methods.
(r Resolver)
| 12 | |
| 13 | // WithDefaultResolver updates the resolver used for the package methods. |
| 14 | func WithDefaultResolver(r Resolver) { |
| 15 | defaultResolver = r |
| 16 | } |
| 17 | |
| 18 | // TenantID returns exactly a single tenant ID from the context. It should be |
| 19 | // used when a certain endpoint should only support exactly a single |
no outgoing calls