1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-06-16 04:04:56 +02:00
No description
Find a file
Quinn Slack 0ad9fd8995 synchronize writes in BufferedObjectStream (#9)
Running various applications that use jsonrpc2 with the Go race detector shows that there is a race condition where `WriteObject` can be called from concurrent goroutines (e.g., 1 sending a request, 1 writing a response).
2017-01-31 23:39:03 -08:00
websocket Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
.travis.yml ci: use go 1.7.1, 'release' is not valid 2016-10-11 16:13:48 +02:00
call_opt.go Add CallOpt SetID 2017-01-31 11:08:53 +02:00
codec_test.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
conn_opt.go Use correct format string for ID 2016-11-14 21:17:22 +02:00
handler_with_error.go remove incorrect special handling of null results 2017-01-22 15:34:08 -08:00
jsonrpc2.go Add CallOpt SetID 2017-01-31 11:08:53 +02:00
jsonrpc2_test.go Add CallOpt SetID 2017-01-31 11:08:53 +02:00
LICENSE initial commit 2016-10-11 15:56:18 +02:00
object_test.go better null handling in (Request).params and (Response).result (#7) 2017-01-26 02:18:31 -08:00
README.md remove incomplete JSON-RPC 2.0 batch support 2016-11-06 06:51:04 -08:00
stream.go synchronize writes in BufferedObjectStream (#9) 2017-01-31 23:39:03 -08:00

jsonrpc2: JSON-RPC 2.0 implementation for Go Build Status

Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.

This package is experimental until further notice.

Open the code in Sourcegraph

Known issues

  • Batch requests and responses are not yet supported.