James Phillips
0cf7928222
Cleans up incorrect router shutdown.
...
Fixes #3102 .
2017-06-02 16:33:48 -07:00
Frank Schroeder
ebdb73d8f2
golint: Drop the unused value from range
...
for i, _ := range foo -> for i := range foo
2017-04-25 09:26:13 -07:00
James Phillips
dec485145e
Adds a hook for the route lookup function.
2017-03-16 16:42:19 -07:00
James Phillips
ad39f8a0f6
Cleans up some small things based on review feedback.
2017-03-16 16:42:19 -07:00
James Phillips
543389ad0a
Adds offline detection.
2017-03-16 16:42:19 -07:00
James Phillips
8cc06ec10d
Adds missing unit tests and cleans up some router bugs.
2017-03-16 16:42:19 -07:00
James Phillips
1cd3a8a107
Simplifies median calculation.
2017-03-16 16:42:19 -07:00
James Phillips
28f8aa5559
Removes remoteConsuls in favor of the new router.
...
This has the next wave of RTT integration with the router and also
factors some common RTT-related helpers out to lib. While we were
in here we also got rid of the coordinate disable config so we don't
need to deal with the complexity in the router (there was never a
user-visible way to disable coordinates).
2017-03-16 16:42:19 -07:00
James Phillips
82b6fbd844
Adds router into RPC paths with work in progress on coordinates.
2017-03-16 16:42:18 -07:00