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 |
|
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 |
|
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
|
b8241f3026
|
specify the Accept header along with Content-Type
|
2016-08-25 13:34:47 +01:00 |
|
Asim
|
02481c4446
|
request panic catch all
|
2016-06-30 16:19:02 +01:00 |
|
Asim
|
ff0bd76905
|
Add a pool test
|
2016-06-07 01:18:54 +01:00 |
|
Asim
|
58ad01e3e1
|
Don't log that cruft
|
2016-06-07 00:48:34 +01:00 |
|
Asim
|
89401cbb95
|
Make pool configurable
|
2016-06-07 00:46:14 +01:00 |
|
Asim
|
38a66817e6
|
Add a conn lifetime for the pool
|
2016-06-06 23:37:52 +01:00 |
|
Asim
|
6669248291
|
gofmt
|
2016-06-06 23:37:07 +01:00 |
|
Asim
|
739b094cd2
|
Merge branch 'master' into pool
|
2016-06-06 14:06:03 +01:00 |
|
Mr Talbot
|
6de507b7b5
|
MockClient.CallRemote now returns nil on success
CallRemote was not returning nil on success as it should due to a missing return
|
2016-05-28 20:52:59 +01:00 |
|
Asim
|
1254a87286
|
Add package comments
|
2016-05-24 22:22:46 +01:00 |
|
Asim
|
98f295b6b0
|
Noobed the deadlock
|
2016-05-13 18:24:01 +01:00 |
|
Asim
|
2e9f4271a8
|
Pool first attempt
|
2016-05-13 15:58:53 +01:00 |
|
Asim
|
b6f5e15362
|
Fix the error returns from done and bail early if we dont have time
|
2016-05-12 23:56:25 +01:00 |
|
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 |
|