package
0.0.0-20200604101126-5bd6cff2be45
Repository: https://github.com/bcbchain/bclib.git
Documentation: pkg.go.dev

# Functions

MaxReconnectAttempts sets the maximum number of reconnect attempts before returning an error.
NewJSONRPCClient returns a JSONRPCClient pointed at the given address.
改接口支持https和http 当使用http时,remote使用http://ip:port/path.
No description provided by the author
No description provided by the author
NewWSClient returns a new client.
OnReconnect sets the callback, which will be called every time after successful reconnect.
PingPeriod sets the duration for sending websocket pings.
ReadWait sets the amount of time to wait before a websocket read times out.
WriteWait sets the amount of time to wait before a websocket write times out.

# Variables

No description provided by the author

# Structs

JSONRPCClient takes params as a slice.
URI takes params as a map.
WSClient is a WebSocket client.

# Interfaces

HTTPClient is a common interface for JSONRPCClient and URIClient.