730 Commits

Author SHA1 Message Date
Asim Aslam
8d2e2e5dbe add plugin build section 2017-01-04 14:54:31 +00:00
Asim Aslam
19b3ad97a6 update travis 2017-01-01 18:51:33 +00:00
Asim Aslam
dc89b56bd0 update readme 2016-12-25 20:57:27 +00:00
Asim Aslam
299a7de381 update readme 2016-12-25 20:53:08 +00:00
Asim Aslam
d606d00f35 superfluous logging 2016-12-15 20:45:27 +00:00
Asim Aslam
71d717a06d strip doc.go files 2016-12-14 15:41:48 +00:00
Asim Aslam
4a1e5b34ee update service example readme 2016-12-08 12:34:02 +00:00
Asim Aslam
3a1d33f553 nitpick readme 2016-12-07 16:54:19 +00:00
Asim Aslam
475e584e15 Merge pull request #143 from micro/codec
Add configurable codecs for broker/transport
2016-12-06 19:44:45 +00:00
Asim Aslam
095793ee96 handle codec and transport errors 2016-12-06 19:40:44 +00:00
Asim Aslam
369c02c900 Remove the duplication of this codec code 2016-12-06 19:07:11 +00:00
Asim Aslam
25a6849609 move broker codec 2016-12-06 18:59:41 +00:00
Asim Aslam
49e5636bcd add transport codec 2016-12-06 18:56:57 +00:00
Asim Aslam
bd3c798fd9 Add configurable codecs for broker/transport 2016-12-06 18:37:35 +00:00
Asim Aslam
e10259940b add WrapCall option at top level 2016-12-06 17:01:53 +00:00
Asim
bee9f03e11 switch image link to blog post 2016-12-03 10:35:35 +00:00
Asim
d3bfdc79ba update slack invite link 2016-11-29 11:44:06 +00:00
Asim
c289f6acaa Make use of consul 0.7 deregister field. Now auto reaps dead services 2016-11-25 11:23:37 +01:00
Asim
b05b42eccd Differentiate between request and call timeouts 2016-11-22 10:44:32 +01:00
Asim Aslam
22f212c274 Merge pull request #141 from simplechris/consul-configuration
Remove consul token helper method.
2016-11-21 17:39:28 +01:00
chriss
fabdd4a704 Remove consul token helper method.
A Consul config struct can be passed using the `Config` helper making this helper redundant.
2016-11-21 16:16:24 +00:00
Asim
19be4ea2fd continue on unsubscribe/deregister 2016-11-21 16:51:30 +01:00
Asim
8873e6ad08 we need to not return after processing broadcast, still gotta process the other queues 2016-11-21 15:58:39 +01:00
Asim
0be3256d25 fix protoc comment 2016-11-20 15:02:05 +00:00
Asim
ab7f7d6693 update package level comment 2016-11-20 14:59:09 +00:00
Asim
25ae5c2e5f Clarify service discovery 2016-11-19 14:31:07 +00:00
Asim
20feb95e18 Add the ability to switch out client/server 2016-11-18 17:29:26 +00:00
Asim
f9709ffa6e ensure the code does not panic 2016-11-18 07:30:50 +00:00
Asim Aslam
1688329049 Merge pull request #139 from simplechris/feature/consul-config
Add ability to pass consul client config via registry options.
2016-11-18 07:28:01 +00:00
chriss
8a25723fe0 Set consul token via registry options.
Optionally configure a token to use with the consul client.
2016-11-18 00:07:12 +00:00
chriss
3d7187f405 Add the ability to pass consul client config via registry options.
This can be used when you need to configure the consul client to use a specific configuration (E.G to pass a Token if consul is using ACL policies)
2016-11-17 23:24:14 +00:00
Asim Aslam
74d8ea6817 Merge pull request #136 from micro/wrapper
Call Wrapper
2016-11-09 18:12:36 +00:00
Asim
99a3ba7358 wrap before the call, we don't want to rewrap on retry 2016-11-09 18:02:41 +00:00
Asim
c277a3ecc0 Add example of client call func wrap 2016-11-07 20:11:58 +00:00
Asim
2df46131eb fix test 2016-11-07 18:54:44 +00:00
Asim
0d84fb1913 Add wrapper test 2016-11-07 18:51:25 +00:00
Asim
7ee35f50b1 WrapCall rather than WrapCallFunc 2016-11-07 18:06:15 +00:00
Asim
f3b591d722 Strip stream func and rename call wrappers... 2016-11-07 17:58:34 +00:00
Asim
5ee585e77d Rename to CallFuncWrappers 2016-11-07 17:52:19 +00:00
Asim
c6b5237cce Add call func wrapper 2016-11-07 17:49:35 +00:00
Asim
d1d41b5a67 Fix comment 2016-11-07 16:51:28 +00:00
Asim Aslam
3b75e94e02 Merge pull request #133 from ynori7/master
Adding the ability to specify a function to check if micro should retry a failed rpc call
2016-11-07 16:50:45 +00:00
Scott Finlay
1ab59094eb Fixing return value and gofmt 2016-11-07 17:46:12 +01:00
Scott Finlay
a6812ba332 Adjusting the logic around the returned error from the retry function 2016-11-07 17:41:51 +01:00
Scott Finlay
c6737ac64c Adjusting import because of failed build 2016-11-07 17:15:11 +01:00
Scott Finlay
a66bce0e4b Adjusting arguments and return value of retry function and adding new retry logic to stream 2016-11-07 17:10:40 +01:00
Scott Finlay
092d17a74e Adjusting names 2016-11-07 09:40:11 +01:00
Asim
7868d5a2cb Use Socket in the Client interface 2016-11-05 11:44:02 +00:00
Scott Finlay
d7e4062a0e Adding the ability to specify a function to check if micro should retry a failed rpc call 2016-11-03 10:51:47 +01:00
Asim Aslam
2c65a38ba9 Merge pull request #132 from micro/ctx
Make copy of metadata in setHeaders
2016-11-02 17:50:34 +00:00