ref: Introduce client.Connection and refactor xclient.go.

This should hopefully make changing the parallel dial
policy in the future simpler.

Next step: Use the client.Connection function in syncbase
peer selection.

Improvements observed during this change:
We should get rid of RetryTimeout:
- No one uses it currently.
- It allowed for a bug that made it possible for nested
calls to rpcs to mess with the perceived timeout of
inner nested calls.

MultiPart: 2/2

Change-Id: I60d7c2231d06ee0a8ae9b8c305bab9494541e255
4 files changed
tree: 4bbf04d473513d7a047f5fe055a909169d1b0a0f
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.