Documentation ¶
Overview ¶
package wsclient provides a wrapper client around the tendermint rpc client
Index ¶
- type WsClient
- func (ws *WsClient) SubscribeNewRound(ctx context.Context) (<-chan coretypes.ResultEvent, error)
- func (ws *WsClient) SubscribeNewRoundStep(ctx context.Context) (<-chan coretypes.ResultEvent, error)
- func (ws *WsClient) SubscribeVotes(ctx context.Context) (<-chan coretypes.ResultEvent, error)
- func (ws *WsClient) UnsubscribeNewRound(ctx context.Context) error
- func (ws *WsClient) UnsubscribeNewRoundStep(ctx context.Context) error
- func (ws *WsClient) UnsubscribeVotes(ctx context.Context) error
- func (ws *WsClient) Validators(ctx context.Context) ([]*types.Validator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WsClient ¶
type WsClient struct {
// contains filtered or unexported fields
}
func (*WsClient) SubscribeNewRound ¶
func (*WsClient) SubscribeNewRoundStep ¶
func (*WsClient) SubscribeVotes ¶
func (*WsClient) UnsubscribeNewRound ¶
func (*WsClient) UnsubscribeNewRoundStep ¶
Click to show internal directories.
Click to hide internal directories.