package
0.0.0-20240305091328-aa4207a4b25d
Repository: https://github.com/badrootd/celestia-core.git
Documentation: pkg.go.dev
# Functions
New takes a remote endpoint in the form <protocol>://<host>:<port> and the websocket path (which always seems to be "/websocket") An error is returned on invalid remote.
NewWithClient allows for setting a custom http client (See New).
Create timeout enabled http client.
# Structs
BatchHTTP provides the same interface as `HTTP`, but allows for batching of requests (as per https://www.jsonrpc.org/specification#batch).
HTTP is a Client implementation that communicates with a CometBFT node over
JSON RPC and WebSockets.
WSEvents is a wrapper around WSClient, which implements EventsClient.