Anton Kaliaev
491c8ab4c1
[rpc/lib] log cert and key files in StartHTTPAndTLSServer
7 years ago
Anton Kaliaev
5ef8a6e887
deprecate not fully formed addresses
7 years ago
Anton Kaliaev
d694d47d22
[rpc/lib] rename vars according to Go conventions
7 years ago
Zaki Manian
ecdc1b9bb0
Add a method for creating an https server ( #1403 )
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Anton Kaliaev
f74de4cb86
include optional data field in error object
```
data
A Primitive or Structured value that contains additional information about the error.
This may be omitted.
The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
```
8 years ago
Dave Bryson
60a1f49a5c
updated json response to match spec by @davebryson
8 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
Ethan Frey
2b324b7eb9
RPC returns pretty formated json
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
efeadcc0f4
some cleanup from review
8 years ago
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
8 years ago
Ethan Buchman
9851265d4f
rpc: use HTTP error codes
8 years ago
Ethan Buchman
9e82d132ce
go-rpc -> tendermint/rpc
8 years ago
Ethan Buchman
c55d83281a
move into rpc package
8 years ago
Anton Kaliaev
db69845ded
introduce errors pkg
8 years ago
Anton Kaliaev
66867bf949
remove "rpc" prefix from package imports
8 years ago
Ethan Buchman
479510be0e
support full urls (with eg tcp:// prefix)
8 years ago
Jae Kwon
1d9e89812a
Remove go-alert dependency
9 years ago
Ethan Buchman
6607232a5d
add support for unix sockets
9 years ago
Ethan Buchman
aff561d8c3
RPCResponse.Result is json.RawMessage
9 years ago
Ethan Buchman
3d59e13dd8
move from tendermint/tendermint
9 years ago