package
0.2.0
Repository: https://github.com/irisnet/core-sdk-go.git
Documentation: pkg.go.dev

# Functions

DefaultHTTPClient is used to create an http client with some default parameters.
MaxReconnectAttempts sets the maximum number of reconnect attempts before returning an error.
No description provided by the author
NewWS 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.

# Structs

No description provided by the author
WSClient is a JSON-RPC client, which uses WebSocket for communication with the remote server.
WSEvents is a wrapper around WSClient, which implements EventsClient.