package jsonrpc

Import Path
	net/rpc/jsonrpc (on

Dependency Relation
	imports 7 packages, and imported by 0 packages

Involved Source Files Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. For JSON-RPC 2.0 support, see server.go
Package-Level Functions (total 5)
Dial connects to a JSON-RPC server at the specified network address.
NewClient returns a new [rpc.Client] to handle requests to the set of services at the other end of the connection.
NewClientCodec returns a new [rpc.ClientCodec] using JSON-RPC on conn.
NewServerCodec returns a new [rpc.ServerCodec] using JSON-RPC on conn.
ServeConn runs the JSON-RPC server on a single connection. ServeConn blocks, serving the connection until the client hangs up. The caller typically invokes ServeConn in a go statement.