Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

```