Documentation
¶
Index ¶
Constants ¶
View Source
const WEB3PRO_PORT = 9323 // WEB3 mnemonics
Variables ¶
View Source
var WSConnections = make([]*ConContext, 0)
View Source
var WSConnectionsMutex = sync.Mutex{}
Functions ¶
func AddConnection ¶
func AddConnection(conn *ConContext)
func RemoveConnection ¶
func RemoveConnection(conn *ConContext)
Types ¶
type BroadcastParams ¶
type ConContext ¶
type RPCBroadcast ¶
type RPCBroadcast struct {
JSONRPC string `json:"jsonrpc"`
Method string `json:"method"`
Params BroadcastParams `json:"params"`
Web3ProOrigin string `json:"__web3proOrigin,omitempty"`
}
type RPCRequest ¶
type RPCResponse ¶
Click to show internal directories.
Click to hide internal directories.