rewrite selector package and reuse it in router #7

vtolstov
commented 2020-10-06 11:50:54 +03:00
(Migrated from github.com)
- move selector to router => router/selector
- remove selector usage in client
- pass selector to router via options (and allow to pass selector via router option for client call)
- selector operates on []Route and returns []Route
- y open question - does we need to support multiple selectors via chaining ? for example i have latest version selector and shard or roundrobin
1. move selector to router => router/selector
2. remove selector usage in client
3. pass selector to router via options (and allow to pass selector via router option for client call)
4. selector operates on []Route and returns []Route
5. y open question - does we need to support multiple selectors via chaining ? for example i have latest version selector and shard or roundrobin
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?