13 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 Aslam
ca5acba0c6 Move selector to client/selector 2019-06-21 15:13:54 +01:00
Asim Aslam
460fb3e70c update package comments 2018-12-29 16:18:05 +00:00
Asim Aslam
5cae330732 Update selector race, rename cache selector 2018-12-29 15:44:51 +00:00
Asim Aslam
71d717a06d strip doc.go files 2016-12-14 15:41:48 +00:00
Asim
1254a87286 Add package comments 2016-05-24 22:22:46 +01:00
Asim
6070e235eb remove comment 2016-05-05 21:13:07 +01:00
Asim
0a4484b406 First commit in strategy rework 2016-05-03 22:06:19 +01:00
Asim
4d4f842702 Change SelectFilter to Filter 2016-04-23 20:15:01 +01:00
Asim
897115ed31 Fix some issues with initialisation 2016-01-04 23:07:56 +00:00
Asim
be43d827c7 Add String method to all interfaces 2015-12-19 21:56:14 +00:00
Asim
eefb9c53d4 Move to a selector package 2015-12-09 19:23:16 +00:00