Asim
7c3ce60ce6
Add label and version filters
2016-04-23 20:57:46 +01:00
Asim
4d4f842702
Change SelectFilter to Filter
2016-04-23 20:15:01 +01:00
Asim
a4c05fd6ad
update image
2016-04-22 10:34:32 +01:00
Asim
03b3a53407
add the image itself\!
2016-04-22 10:33:08 +01:00
Asim
7a081e5514
Add image
2016-04-22 10:32:46 +01:00
Asim Aslam
f27b2b8c73
Merge pull request #74 from micro/convenience
...
Convenience settings for Broker, Registry, Transport and Wrappers
2016-04-19 18:56:23 +01:00
Asim
47d146daa4
That should be i-1
2016-04-19 00:47:15 +01:00
Asim
d1a6126350
Convenience settings for Broker, Registry, Transport and Wrappers
2016-04-18 21:41:03 +01:00
Asim
ca91a8383e
Add mock server
2016-04-16 00:02:55 +01:00
Asim
089c457d6c
Appending to metadata is a side effect. Let's not do that anymore.
2016-04-15 16:45:59 +01:00
Asim
0410508385
add link to blog post
2016-04-13 11:30:17 +01:00
Asim Aslam
0e93f0772a
Merge pull request #73 from micro/consul_register
...
Don't re-register if the state hasn't changed
2016-04-10 23:07:29 +01:00
Asim
e2855c4bc2
Fix some mapping issues while we're at it
2016-04-09 22:19:03 +01:00
Asim
9d7bd3f424
God damn you nil map
2016-04-09 21:34:45 +01:00
Asim
b3fbd36ba7
Don't re-register if the state hasn't changed
2016-04-09 21:30:31 +01:00
Asim
7739e23401
Call it mock TestResponse
2016-04-06 18:38:33 +01:00
Asim
9d060bf6e1
Test struct works with mock client
2016-04-06 18:37:46 +01:00
Asim
ac6b8b730b
First stab at mock client
2016-04-06 18:33:57 +01:00
Asim
bfe20d81d0
More linting fun
2016-04-06 18:03:27 +01:00
Asim
2f50c74f41
Satisfy the golint gods a little
2016-04-06 17:53:16 +01:00
Asim Aslam
5fb1051e0b
Merge pull request #70 from micro/backoff
...
Add Backoff func option
2016-04-06 17:43:39 +01:00
Asim
7167f998ce
First crack at backoff function
2016-04-05 20:04:37 +01:00
Asim
56c6993eb8
Set CallOptions as struct in Options. Can then be overridden easily during Call/Stream
2016-04-05 18:07:07 +01:00
Asim Aslam
c462d7776c
Merge pull request #63 from micro/encoding
...
Fix Consul WARN issues for tags
2016-04-05 16:14:28 +01:00
Asim Aslam
de2f407e3d
Merge pull request #69 from jelmersnoeck/fix-accept-return
...
HTTPTransport: implement queue for listener.
2016-04-01 13:39:38 +01:00
Jelmer Snoeck
af0028d821
HTTPTransport: implement queue for listener.
...
Before this patch, when an error occurs in trying to accept a connection
from the listener, the error would be returned. This also happened on
temporary issues like `too many open files`.
Temporary issues are "self-healing" and will resolve over time. This
means that we can put the requests in a queue to wait until the issue is
resolved and start processing the connections once it is resolved.
This patch implements such mechanism, as copied from the standard
library http package. It will retry temporary errors but will return
permanent errors (or errors that are not from the net.Error type).
2016-04-01 13:10:18 +01:00
Asim Aslam
ce283ab233
Merge pull request #68 from boyand/master
...
Avoid unsafe dereferencing
2016-04-01 09:42:17 +01:00
Boyan Dimitrov
5718ce5697
Avoid unsafe dereferencing
2016-04-01 10:28:52 +02:00
Asim
17a97e2ef1
Set ver
2016-03-29 18:32:16 +01:00
Asim
cb89b2ebca
update encoding test
2016-03-29 18:16:55 +01:00
Asim
61178d1b45
Update encoding to be backwards compatible.
2016-03-29 17:44:46 +01:00
Asim
844979be06
Add flags client request timeout and client retries
2016-03-29 17:18:39 +01:00
Asim
2c2edcad2f
Update go versions
2016-03-23 18:34:20 +00:00
Asim
97860a0488
Fix duplicate registraton of sub handler
2016-03-22 18:02:50 +00:00
Asim
f10935ad2e
http bench test
2016-03-19 15:29:04 +00:00
Asim
646d80f222
That should be a listener exit
2016-03-18 19:24:44 +00:00
Asim
10a67fe7de
Ugly comments, fix them
2016-03-18 19:23:44 +00:00
Asim
da22d5b161
Mock transport
2016-03-18 18:41:26 +00:00
Asim
dcb3fad476
Add error test
2016-03-18 11:01:55 +00:00
Asim
31f67317e9
Add apache license icon
2016-03-18 09:29:09 +00:00
Asim
0a81cb1190
unexport mock registry
2016-03-17 22:54:18 +00:00
Asim
01a642410f
We don't need to export those things
2016-03-17 22:52:49 +00:00
Asim
771ff7fbff
Add mock broker
2016-03-17 22:46:20 +00:00
Asim
e941796234
Add encoding that does not throw warns
2016-03-16 21:23:41 +00:00
Asim
7126dc1238
Merge pull request #60 from micro/init
...
Strip string slice from New[Thing] for addrs
2016-03-16 10:05:57 +00:00
Asim
5a6ff655db
Transport init
2016-03-15 22:25:32 +00:00
Asim
f088074f29
Registry init
2016-03-15 22:20:21 +00:00
Asim
64220dc0c5
Broker init
2016-03-15 22:12:28 +00:00
Asim
fe4362be5a
Merge pull request #57 from micro/log
...
remove use of glog
2016-03-15 20:56:11 +00:00
Asim
46da892e5f
Remove glog from example too
2016-03-15 20:48:09 +00:00