Resolve resolves the given key to a peer address.
(ctx context.Context, key string, allowSelf bool, count int)
| 16 | |
| 17 | // Resolve resolves the given key to a peer address. |
| 18 | Resolve(ctx context.Context, key string, allowSelf bool, count int) (<-chan PeerInfo, error) |
| 19 | |
| 20 | // ResolveWithNegativeCacheCallback is like Resolve but it also returns a function callback that can be used to cache that a key could not be resolved. |
| 21 | ResolveWithNegativeCacheCallback(ctx context.Context, key string, allowSelf bool, count int) (<-chan PeerInfo, func(), error) |
nothing calls this directly
no outgoing calls
no test coverage detected