Commit Graph

6 Commits

Author SHA1 Message Date
ben-toogood
6337c92cd0
selector: new selector interface with random & roundrobin implementation (#1761)
* selector: implement new selector interface plus random & roundrobin implementations

* selector/roundrobin: remove unused consts

* router: add close method to interface

* selector/roundrobin: fix concurrent map iteration and map write

* selector: replace variadic argument on Select
2020-06-30 14:54:38 +01:00
Asim
0a4484b406 First commit in strategy rework 2016-05-03 22:06:19 +01:00
Asim
3d3044404e Don't add to defaults in func init, just add them to cmd 2016-04-26 18:49:02 +01:00
Asim
210b810096 Fix the selectors 2016-01-01 01:29:40 +00:00
Asim
8e2dbb8997 Initialise the command stuff 2015-12-09 19:38:50 +00:00
Asim
eefb9c53d4 Move to a selector package 2015-12-09 19:23:16 +00:00