github.com/deliveroo/jsonrpc-go (go): Package jsonrpc implements a microframework for writing JSON-RPC web applications.  Methods are defined as either:  If a method returns a value along with a nil error, the value will be rendered to the client as JSON.  If an error is returned, it will be sanitized and returned to the client as json. Errors generated by a call to `jsonrpc.Error` will be rendered as-is to the client. Any other errors will be obfuscated to the caller (unless `DumpErrors` is enabled).  Example:
Keywords: library