Commit Graph

77 Commits

Author SHA1 Message Date
Asim
00a26677b8 Continue to return our error types 2016-05-12 23:52:29 +01:00
Asim
8c8573426c Add cascading timeouts 2016-05-12 23:32:58 +01:00
Asim
2254578760 We don't need sync.Once, we can just select 2016-05-11 00:01:32 +01:00
Asim
d6fdfc252e Make it easier to add select filters 2016-04-23 21:37:26 +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
2f50c74f41 Satisfy the golint gods a little 2016-04-06 17:53:16 +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
71764564e7 Add packages for the defaults 2016-03-14 10:45:38 +00:00
Asim
8edb0c4b06 Add client comment 2016-01-30 21:15:08 +00:00
Asim
6b7f2f3bd3 Merge pull request #45 from micro/metadata
Move context to metadata
2016-01-28 18:30:53 +00:00
Asim
1cc621e2d6 FromContext/NewContext methods 2016-01-28 18:23:24 +00:00
Asim
d306559d8f Nitpick Headers to Header 2016-01-28 18:11:13 +00:00
Asim
9ae0956cea Move context to metadata 2016-01-28 17:55:28 +00:00
Asim
7401c44973 This is actually a useless error 2016-01-07 01:58:38 +00:00
Asim
8bf72a3325 Replace map[string]string with Context for extra options. map[string]string is essentially useless. Context can store anything 2016-01-06 16:25:12 +00:00
Asim
ad4637d89b Lets strip out the rpcplus code 2016-01-05 21:13:20 +00:00
Asim
40cd086543 Strip some code from the client 2016-01-05 20:38:01 +00:00
Asim
d43d3e8efa Add transport dial timeout 2016-01-03 21:25:03 +00:00
Asim
332a229169 Add request timeout 2016-01-03 21:14:33 +00:00
Asim
1037663acf Add retries 2016-01-02 23:16:15 +00:00
Asim
3b56a62589 Update the way flags are used 2016-01-02 19:12:17 +00:00
Asim
64b45f7846 Update options to be public. This means people can implement the interfaces and actually use the options 2015-12-31 18:11:46 +00:00
Asim
bffd55f500 Channel rather than mutex to check is closed 2015-12-28 19:11:10 +00:00
Asim
be43d827c7 Add String method to all interfaces 2015-12-19 21:56:14 +00:00
Asim
3b295b16e7 Working bidirectional streaming example 2015-12-18 20:28:50 +00:00
Asim
a5be9ca585 switchup init 2015-12-18 01:21:56 +00:00
Asim
4cba0c57ab Checkpoint the world 2015-12-18 01:01:59 +00:00
Asim
6ae48c9f29 checkpoint 2015-12-17 20:37:35 +00:00
Asim
271b827aa9 add changes for mercury 2015-12-16 01:18:05 +00:00
Asim
eefb9c53d4 Move to a selector package 2015-12-09 19:23:16 +00:00
Asim
29ee9e2753 Add error checking 2015-12-09 12:44:28 +00:00
Asim
1126050b37 remove node selector test from client 2015-12-09 00:21:24 +00:00
Asim
9072a944e2 Add selector code 2015-12-09 00:02:45 +00:00
Asim
c00931a0b1 Update wrapper comment 2015-12-08 19:37:27 +00:00
Asim
02985c35d5 Add call and publish options 2015-12-08 19:25:42 +00:00
Asim
3d279ffcfd Select is a better method 2015-12-08 00:11:51 +00:00
Asim
727bba15b8 fix the test 2015-12-08 00:08:23 +00:00
Asim
6ef3b81a18 move this cruft 2015-12-08 00:08:17 +00:00
Asim
140febb081 Switch up the selector so it actually allows you to inform it how the node performed 2015-12-07 23:56:17 +00:00
Asim
4e6b9347d9 Add the notion of a node selector for routing 2015-12-07 21:09:10 +00:00
Asim
919bfed0c1 add comments 2015-12-03 01:05:16 +00:00
Asim
9e3f3bbc0e update comments 2015-12-03 01:02:14 +00:00
Asim
b1511ed813 Update wrapper and examples 2015-12-02 11:54:36 +00:00
Asim
0c9f8411bb Pull rpcplus in local for the time being. We need to modify it for server side middleware 2015-12-01 23:32:23 +00:00
Asim
6ca2cbadfc rename client wrapper file 2015-12-01 17:37:41 +00:00
Asim
dddcdc34ed rename to protorpc and jsonrpc 2015-11-28 18:54:38 +00:00
Asim
80f53ab176 Add json codec 2015-11-28 18:40:32 +00:00