package
0.1.14
Repository: https://github.com/initia-labs/opinit-bots.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# 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.
NewWithCaller allows for setting a custom caller for testing purposes.
NewWithClient allows for setting a custom http client (See New).

# 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.