|
4bf640cb15
|
fix lint issues
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-02-13 01:45:23 +03:00 |
|
|
0ddc8de00b
|
apply micro commit 2eb19c2e97d9316438bc66cd2cda896e8c99d026
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-11-30 22:48:00 +03:00 |
|
|
8d6eb34aee
|
fix random selector
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-11-29 17:30:54 +03:00 |
|
|
67ab44593b
|
fix repocard issues (#21)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-08-25 15:41:48 +03:00 |
|
|
199ff66bd4
|
enable cache for build, closes #8 (#12)
* enable cache for build, closes #8
* goimports
* lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-08-20 15:23:41 +03:00 |
|
|
06136312bb
|
regen files with never protoc (#6)
* regen files with never protoc
* rewrite import path
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-08-19 17:47:17 +03:00 |
|
Asim Aslam
|
50ec6c748f
|
cleanup client/selector/lookup (#1937)
* cleanup client/selector/lookup
* add mdns router, remove registry from client
* fix roundtripper
* remove comment
* fix compile issue
* fix mucp test
* fix api router
|
2020-08-17 22:44:45 +01:00 |
|
Asim Aslam
|
03d47afe47
|
Fix proxy selector memory leak
|
2020-08-05 17:38:41 +01:00 |
|
Asim Aslam
|
563768b58a
|
v3 refactor (#1868)
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
|
2020-07-27 13:22:00 +01:00 |
|
Asim Aslam
|
d7ef224447
|
add selector package comment
|
2020-07-19 10:51:04 +01:00 |
|
ben-toogood
|
6898a65508
|
selector: add filters to replace depricated client/selector filters (#1785)
|
2020-07-02 16:09:48 +01:00 |
|
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 |
|
|
ab692ff590
|
remove mock data from memory registry
memory registry can be used as fast inprocess registry,
so mock data needs to be in tests only
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2019-06-13 00:51:56 +03:00 |
|
Asim Aslam
|
7a3a7e2eaf
|
remove rcache reference
|
2019-05-31 16:00:44 +01:00 |
|
xinfei.wu
|
a56929d1b8
|
reuse rcache
|
2019-02-13 17:47:31 +08:00 |
|
Asim Aslam
|
1321782785
|
in case of reload return nil
|
2019-01-19 10:20:16 +00:00 |
|
Asim Aslam
|
082f57fcad
|
We can just check nil vals
|
2019-01-16 15:42:42 +00:00 |
|
Asim Aslam
|
cc5629fb6b
|
Don't return zero length services
|
2019-01-16 15:41:37 +00:00 |
|
Asim Aslam
|
f2ac73eae5
|
only log error if its plus 3
|
2019-01-14 16:09:51 +00:00 |
|
Asim Aslam
|
39c24baca9
|
rename mock things to memory
|
2019-01-14 15:27:25 +00:00 |
|
Asim Aslam
|
d519180806
|
Merge branch 'master' into dns
|
2019-01-07 13:52:37 +00:00 |
|
Asim Aslam
|
d6a5ff432c
|
add net.LookupHost for dns
|
2019-01-07 09:34:07 +00:00 |
|
Asim Aslam
|
f9da55e8a9
|
Add dns selector
|
2019-01-07 07:41:26 +00:00 |
|
Asim Aslam
|
4692af4393
|
Add static selector
|
2019-01-06 21:12:02 +00: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
|
67d10e5f39
|
simplify get code
|
2018-12-18 18:06:34 +00:00 |
|
Asim Aslam
|
770c16a66d
|
move to using rwmutex for selector
|
2018-12-18 16:51:42 +00:00 |
|
Mikhail Grachev
|
25e6dcc9b6
|
Fix some linter issues
|
2018-11-13 11:57:42 +03:00 |
|
Asim Aslam
|
c9b40cb33b
|
switch to stdlib context
|
2018-03-03 11:53:52 +00:00 |
|
Asim Aslam
|
02260dcaa3
|
Add watch options
|
2018-02-19 17:12:37 +00:00 |
|
Asim Aslam
|
e7104d609a
|
return the not found error
|
2017-10-28 16:21:32 +01:00 |
|
Asim Aslam
|
d48735793d
|
remove ticker
|
2017-10-26 21:12:48 +01:00 |
|
Asim Aslam
|
6fb652f78a
|
lazily start watcher
|
2017-10-26 20:55:52 +01:00 |
|
Uffy
|
b92130eeee
|
remove redundant rand.Seed
|
2017-10-09 14:22:15 +08:00 |
|
Asim Aslam
|
bab586b71e
|
make use of micro/go-log
|
2017-05-11 20:43:42 +01:00 |
|
wangkechun
|
059b9d36d7
|
fix fmt str
|
2017-02-25 22:53:25 +08:00 |
|
Asim Aslam
|
71d717a06d
|
strip doc.go files
|
2016-12-14 15:41:48 +00:00 |
|
Asim
|
b3cdbaae1a
|
Use random starting index for roundrobin
|
2016-10-29 09:31:32 +01:00 |
|
Asim
|
30e0fef615
|
Strip blacklist
|
2016-06-19 14:41:33 +01:00 |
|
Asim
|
02a0eb29d2
|
Temporarily disable blacklisting
|
2016-06-17 15:41:29 +01:00 |
|
Asim
|
4d24f4e30c
|
Blacklist for longer to ensure it works
|
2016-05-26 18:26:02 +01:00 |
|
Asim
|
1254a87286
|
Add package comments
|
2016-05-24 22:22:46 +01:00 |
|
Asim
|
0d21b08928
|
Run method is obsolete
|
2016-05-07 03:08:43 +01:00 |
|
Asim
|
75f2706fd0
|
Use ErrNoneAvailable and test blacklisting
|
2016-05-07 00:04:08 +01:00 |
|
Asim
|
8353b7b865
|
Add blacklist to cache
|
2016-05-06 23:15:40 +01:00 |
|
Asim
|
77e4d4d9c4
|
Next phase of selector
|
2016-05-06 23:12:37 +01:00 |
|
Asim
|
6070e235eb
|
remove comment
|
2016-05-05 21:13:07 +01:00 |
|