Documentation ¶
Overview ¶
Simple implementation of JSONRPC 2.0.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MsgID int64 = 0
Functions ¶
func WsReadLoop ¶
Types ¶
type Msg ¶
type Msg struct { ID int64 `json:"id"` Jsonrpc string `json:"jsonrpc"` Method string `json:"method"` Params json.RawMessage `json:"params"` }
func (Msg) DebugParams ¶
func (Msg) RespondBytes ¶
Click to show internal directories.
Click to hide internal directories.