package
0.32.6
Repository: https://github.com/gracenoah/tendermint.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.
NewJSONRPCClient returns a JSONRPCClient pointed at the given address.
NewJSONRPCClientWithHTTPClient returns a JSONRPCClient pointed at the given address using a custom http client The function panics if the provided client is nil or remote is invalid.
The function panics if the provided remote is invalid.
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.

# Structs

JSONRPCClient takes params as a slice.
JSONRPCRequestBatch allows us to buffer multiple request/response structures into a single batch request.
URI takes params as a map.
WSClient is a WebSocket client.

# Interfaces

HTTPClient is a common interface for JSONRPCClient and URIClient.
JSONRPCCaller implementers can facilitate calling the JSON RPC endpoint.