Anton Kaliaev
54903adeff
add IsReconnecting and IsActive methods
7 years ago
Anton Kaliaev
c08618f7e9
expose latency timer on WSClient
7 years ago
Anton Kaliaev
d578f7f81e
biff up WS client
What's new:
- auto reconnect
- ping/pong
- colored tests
7 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Frey
6ba799132c
json.RawMessage in RPCRequest to defer parsing
8 years ago
Ethan Buchman
efeadcc0f4
some cleanup from review
8 years ago
Ethan Frey
6c60c07f16
BROKEN: attempt to replace go-wire.JSON with json.Unmarshall in rpc
8 years ago
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
8 years ago
Ethan Buchman
9e82d132ce
go-rpc -> tendermint/rpc
8 years ago
Ethan Buchman
c55d83281a
move into rpc package
8 years ago
Ethan Buchman
15d5b2ac49
use tmlibs
8 years ago
Ethan Frey
9d18cbe74e
Remove race condition between read go-routine and stop
8 years ago
Anton Kaliaev
ba5382b70e
open result&error channels on start
8 years ago
Anton Kaliaev
b0d2032488
use BaseService.OnReset method to recreate channels
8 years ago
Anton Kaliaev
d6587be7bc
[WSClient] allow for multiple restarts
needed for 3044f66ba9
See https://github.com/tendermint/tools/issues/6
8 years ago
Anton Kaliaev
afc39febed
close ws connection on Stop
8 years ago
Anton Kaliaev
5d19a008ce
add Call method to WSClient, which does proper encoding of params
8 years ago
Anton Kaliaev
db69845ded
introduce errors pkg
8 years ago
Anton Kaliaev
66867bf949
remove "rpc" prefix from package imports
8 years ago
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
8 years ago
Jae Kwon
161e36fd56
QuitService->BaseService
8 years ago
Ethan Buchman
479510be0e
support full urls (with eg tcp:// prefix)
8 years ago
Ethan Buchman
1410693eae
support unix domain websockets
9 years ago
Jae Kwon
1370f89864
Fix bug in receiveEventsRoutine error handling
9 years ago
Ethan Buchman
45f57198cc
client: wsc.String()
9 years ago
Ethan Buchman
91c734d02e
client: ResultsCh chan json.RawMessage, ErrorsCh
9 years ago
Ethan Buchman
aff561d8c3
RPCResponse.Result is json.RawMessage
9 years ago
Ethan Buchman
0bcae125c2
use comma separated string for arg names
9 years ago
Ethan Buchman
3d59e13dd8
move from tendermint/tendermint
9 years ago