Categorygithub.com/libs4go/jsonrpc
modulepackage
0.0.0-20210721102742-027f451b4647
Repository: https://github.com/libs4go/jsonrpc.git
Documentation: pkg.go.dev

# README

jsonrpc

jsonrpc v2.0 client/server implementation for golang

Transport

  • HTTP/HTTPS
  • WS/WSS

User can implement other transport protocol. The sample transport implementation reference link transport package

Usage

see server_test

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

errors.
errors.
errors.
errors.
errors.

# Structs

RPCError represents a jsonrpc error object if an rpc error occurred.
RPCNotification represents a jsonrpc notification object.
RPCRequest represents a jsonrpc request object.
RPCResponse represents a jsonrpc response object.

# Interfaces

Client jsonrpc Client interface.
ClientTransport client underlying transport protocol.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

BatchResponse a list of jsonrpc response objects as a result of a batch request if you are interested in the response of a specific request use: GetResponseOf(request).
RPCErrorCode represents jsonrpc error code.