All Projects → powerman → Rpc Codec

powerman / Rpc Codec

Licence: mit
JSON-RPC 2.0 codec for Go net/rpc standard library

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Rpc Codec

Ether1
Official Go implementation of The Etho Protocol
Stars: ✭ 41 (-52.87%)
Mutual labels:  json-rpc, rpc
server
Implement the JSON-RPC 2.0 server specification for @laravel.
Stars: ✭ 154 (+77.01%)
Mutual labels:  json-rpc, rpc
Spooky
An HttpClient based Json RPC 2.0/XML-RPC client for .Net.
Stars: ✭ 16 (-81.61%)
Mutual labels:  json-rpc, rpc
Co
Art of C++. Flag, logging, unit-test, json, go-style coroutine and more.
Stars: ✭ 2,264 (+2502.3%)
Mutual labels:  rpc, json-rpc
Joyrpc
high-performance, high-extensibility Java rpc framework.
Stars: ✭ 290 (+233.33%)
Mutual labels:  rpc, json-rpc
Rpc
Simple RPC style APIs with generated clients & servers.
Stars: ✭ 192 (+120.69%)
Mutual labels:  rpc, json-rpc
JsonRpc.Standard
An asynchronous .NET Standard library for JSON RPC client & server implementation.
Stars: ✭ 27 (-68.97%)
Mutual labels:  json-rpc, rpc
Remote Function
Make function calls to remote hosts seamlessly
Stars: ✭ 95 (+9.2%)
Mutual labels:  rpc, json-rpc
aiohttp-rpc
A simple JSON-RPC for aiohttp
Stars: ✭ 22 (-74.71%)
Mutual labels:  json-rpc, rpc
scala-json-rpc
Let your servers and clients communicate over function calls! JSON-RPC 2.0 library for Scala and Scala.js
Stars: ✭ 38 (-56.32%)
Mutual labels:  json-rpc, rpc
Jsonrpc
The jsonrpc package helps implement of JSON-RPC 2.0
Stars: ✭ 143 (+64.37%)
Mutual labels:  rpc, json-rpc
Getty
a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Stars: ✭ 532 (+511.49%)
Mutual labels:  rpc, json-rpc
Jsonrpcserver
Process JSON-RPC requests in Python
Stars: ✭ 126 (+44.83%)
Mutual labels:  rpc, json-rpc
xmlrpcwsc-dotnet
XML-RPC Web Service Client C# implementation
Stars: ✭ 30 (-65.52%)
Mutual labels:  json-rpc, rpc
Jrpc
JSON-RPC implementation in C++17
Stars: ✭ 113 (+29.89%)
Mutual labels:  rpc, json-rpc
coreipc
WCF-like service model API for communication over named pipes and TCP. .NET and node.js clients.
Stars: ✭ 22 (-74.71%)
Mutual labels:  json-rpc, rpc
jsonrpcpp
C++ JSON-RPC 2.0 library
Stars: ✭ 97 (+11.49%)
Mutual labels:  json-rpc, rpc
Vs Streamjsonrpc
The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
Stars: ✭ 421 (+383.91%)
Mutual labels:  rpc, json-rpc
Libjson Rpc Cpp
C++ framework for json-rpc (json remote procedure call)
Stars: ✭ 653 (+650.57%)
Mutual labels:  rpc, json-rpc
Thriftpy
Thriftpy has been deprecated, please migrate to https://github.com/Thriftpy/thriftpy2
Stars: ✭ 1,156 (+1228.74%)
Mutual labels:  rpc

JSON-RPC 2.0 GoDoc CircleCI Coverage Status Go Report Card

jsonrpc2 is a codec for net/rpc.

Implements JSON-RPC 2.0 and JSON-RPC 2.0 Transport: HTTP specifications with following limitations:

  • Client: Batch Request not supported.
  • HTTP Client&Server: Pipelined Requests/Responses not supported.
  • HTTP Client&Server: GET Request not supported.

Also provides command-line tool jsonrpc2client.

Installation

go get github.com/powerman/rpc-codec/...

Or, if you need only jsonrpc2client tool, then download binary for your OS manually from releases or run this to install the latest version:

curl -sfL $(curl -s https://api.github.com/repos/powerman/rpc-codec/releases/latest | grep -i /jsonrpc2client-$(uname -s)-$(uname -m)\" | cut -d\" -f4) | sudo install /dev/stdin /usr/local/bin/jsonrpc2client

Usage

jsonrpc2client

$ jsonrpc2client -h
Usage: jsonrpc2client [flags] method params-as-json
  -http.endpoint string
        service endpoint as url
  -notification
        send notification request
  -tcp.addr string
        service endpoint as host:port
  -transport string
        transport (stdin|tcp|http) (default "http")
  -version
        print version
$ jsonrpc2client -http.endpoint https://example.com/rpc method.name '{"namedArg1":"value"}'
$ jsonrpc2client -http.endpoint https://example.com/rpc method.name '["positionalArg1"]'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].