Package Usage: go: github.com/AdamSLevy/jsonrpc2/v14
Package jsonrpc2 is a complete and strictly conforming implementation of the
JSON-RPC 2.0 protocol for both clients and servers.
The full specification can be found at https://www.jsonrpc.org.
The simplest way to make a JSON-RPC 2.0 request is to use the provided
Client.Request.
For clients that do not wish to use the provided Client, the Request and
Response types can be used directly.
Servers define their own MethodFuncs and associate them with a name in a
MethodMap that is passed to HTTPRequestHandler() to return a corresponding
http.HandlerFunc. See HTTPRequestHandler for more details.
This example makes all of the calls from the examples in the JSON-RPC 2.0
specification and prints them in a similar format.
2 versions
Latest release: about 5 years ago
77 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/AdamSLevy/jsonrpc2/v14