UpstreamResolver is a wrapper around Upstream that implements the [bootstrap.Resolver] interface.
| 38 | // UpstreamResolver is a wrapper around Upstream that implements the |
| 39 | // [bootstrap.Resolver] interface. |
| 40 | type UpstreamResolver struct { |
| 41 | // Upstream is used for lookups. It must not be nil. |
| 42 | Upstream |
| 43 | } |
| 44 | |
| 45 | // NewUpstreamResolver creates an upstream that can be used as bootstrap |
| 46 | // [Resolver]. resolverAddress format is the same as in the |
nothing calls this directly
no outgoing calls
no test coverage detected