Commit Graph

9 Commits

Author SHA1 Message Date
ben-toogood
b882ff3df9
selector: update selector.Select to accept a slice of structs (#1764) 2020-06-30 15:51:26 +01:00
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
897115ed31 Fix some issues with initialisation 2016-01-04 23:07:56 +00:00
Asim
210b810096 Fix the selectors 2016-01-01 01:29:40 +00:00
Asim
be43d827c7 Add String method to all interfaces 2015-12-19 21:56:14 +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