Versions in this module Expand all Collapse all v0 v0.0.1 Feb 13, 2024 Changes in this version + const RPC_VERSION + type JsonRPC interface + Register func(srv any) error + RegisterWithName func(srv any, name string) error + ServeHTTP func(w http.ResponseWriter, r *http.Request) + func NewJsonRpc() JsonRPC + type RpcErrorCode int + const INTERNAL_ERROR + const INVALID_PARAMS + const INVALID_REQUEST + const METHOD_NOT_FOUND + const PARSE_ERROR