Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pengux/jsonrpc2
JSON-RPC2 v2 for Go
https://github.com/pengux/jsonrpc2
Last synced: about 2 months ago
JSON representation
JSON-RPC2 v2 for Go
- Host: GitHub
- URL: https://github.com/pengux/jsonrpc2
- Owner: pengux
- License: mit
- Created: 2015-10-12T05:05:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T05:07:01.000Z (over 9 years ago)
- Last Synced: 2024-06-20T03:58:11.774Z (7 months ago)
- Language: Go
- Size: 145 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSONRPC2 implementation in Go
Based on the net/rpc and net/rpc/json package, it's a incomplete implementation of [JSON-RPC 2.0](http://www.jsonrpc.org/specification).## Service methods with context
One of the differences witht he stdlib is that each method of a registered service must have an io.ReadWriteCloser as first argument. This enable the methods to have access to contexts. Here's an example:```go
```