package
0.22.6
Repository: https://github.com/preminem/tendermint.git
Documentation: pkg.go.dev

# Functions

EventSubscriber sets object that is used to subscribe / unsubscribe from events - not Goroutine-safe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRPCFunc wraps a function for introspection.
NewWebsocketManager returns a new WebsocketManager that passes a map of functions, connection options and logger to new WS connections.
NewWSConnection wraps websocket.Conn.
NewWSRPCFunc wraps a function for introspection and use in the websockets.
PingPeriod sets the duration for sending websocket pings.
ReadWait sets the amount of time to wait before a websocket read times out.
Wraps an HTTP handler, adding error logging.
RegisterRPCFuncs adds a route for each function in the funcMap, as well as general jsonrpc and websocket handlers for all functions.
StartHTTPAndTLSServer starts an HTTPS server on listenAddr with the given handler.
StartHTTPServer starts an HTTP server on listenAddr with the given handler.
WriteChanCapacity sets the capacity of the websocket write channel.
No description provided by the author
No description provided by the author
WriteWait sets the amount of time to wait before a websocket write times out.

# Variables

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

# Structs

Config is an RPC server configuration.
Remember the status for logging.
RPCFunc contains the introspected type information for a function.
WebsocketManager provides a WS handler for incoming connections and passes a map of functions along with any additional params to new connections.