Anton Kaliaev
1842e03315
revert using local import
this breaks the client's code (e.g. tendermint)
8 years ago
Anton Kaliaev
d033cd54b8
add editorconfig
8 years ago
Anton Kaliaev
2dc6ab3896
use golang default if an arg is missing (Refs #7 )
8 years ago
Anton Kaliaev
6d66cc68ed
make sure we are using correct server
also remove it afterwards
8 years ago
Anton Kaliaev
51d760f29f
use local import for testing
8 years ago
Anton Kaliaev
22ba8bdef8
fix Call method signature in HTTPClient interface
8 years ago
Anton Kaliaev
d43e3db978
fix circleci
8 years ago
Anton Kaliaev
26ccb4c94a
remove private call methods
Q: what was the reason to create them?
8 years ago
Anton Kaliaev
c128957723
"must remove file for test to run again" - no way I am doing this by hands, too lazy :)
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
Anton Kaliaev
b03facd828
add Dockerfile
8 years ago
Ethan Buchman
fcea0cda21
Merge pull request #6 from tendermint/develop
v0.6.0
8 years ago
Ethan Buchman
6177eb8398
love you circley
8 years ago
Ethan Buchman
ac443fa61f
run tests from bash script
8 years ago
Ethan Buchman
08f2b5bc84
get deps for testing
8 years ago
Ethan Buchman
de56442660
Merge branch 'master' into develop
8 years ago
Ethan Buchman
94fed25975
fix test
8 years ago
Ethan Buchman
0eb278ad3b
version bump 0.6.0
8 years ago
Ethan Buchman
b494cc5219
Merge pull request #5 from mappum/develop
Fix hex string handling
8 years ago
Matt Bell
4d7aa62a10
Added test for unexpected hex string type HTTP args
8 years ago
Matt Bell
86506cd4f8
Handle quoted and hex string type HTTP args for both 'string' and '[]byte' type function args
8 years ago
Matt Bell
af1212897c
Exit early in bash tests
8 years ago
Matt Bell
34a806578a
Handle hex strings and quoted strings in HTTP params
Use 0x-prefixed hex strings in client
server: Decode hex string args
Encode all string args as 0x<hex> without trying to encode as JSON
Added tests for special string arguments
Fix server handling quoted string args
Added string arg handling test cases to bash test script
8 years ago
Jae Kwon
161e36fd56
QuitService->BaseService
8 years ago
Ethan Buchman
e6e3853dc7
Merge pull request #3 from tendermint/develop
use EventSwitch interface; less logging
8 years ago
Ethan Buchman
855255d73e
use EventSwitch interface; less logging
8 years ago
Ethan Buchman
479510be0e
support full urls (with eg tcp:// prefix)
9 years ago
Ethan Buchman
dea910cd3e
Makefile: go test --race
9 years ago
Ethan Buchman
39ee59c26e
server: return result with error
9 years ago
Ethan Buchman
a8ac819139
link issue from readme
9 years ago
Ethan Buchman
a44e0e0f4b
add test example
9 years ago
Ethan Buchman
0c70a4636a
add better docs to readme
9 years ago
Ethan Buchman
7ea86f6506
fix test race and update readme
9 years ago
Jae Kwon
1d9e89812a
Remove go-alert dependency
9 years ago
Ethan Buchman
e8538d606a
add blank client interface
9 years ago
Ethan Buchman
1410693eae
support unix domain websockets
9 years ago
Ethan Buchman
74130008f7
deduplicate dialFunc
9 years ago
Ethan Buchman
6607232a5d
add support for unix sockets
9 years ago
Jae Kwon
1370f89864
Fix bug in receiveEventsRoutine error handling
9 years ago
Jae Kwon
8b7969d6ea
Add comments about goroutine-safety
9 years ago
Ethan Buchman
45f57198cc
client: wsc.String()
9 years ago
Ethan Buchman
fbc5ac8052
print method in client log
9 years ago
Ethan Buchman
b9eec7e438
version bump
9 years ago
Ethan Buchman
14735d5eb5
RawMessage fix
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
Ethan Buchman
c52524a215
Initial commit
9 years ago