Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient(serverUrl string) *HTTPClient
func (*HTTPClient) BlockResults ¶
func (client *HTTPClient) BlockResults(height uint64) (*types.BlockResults, error)
func (*HTTPClient) LatestBlockHeight ¶
func (client *HTTPClient) LatestBlockHeight() (uint64, error)
type PollingBlocksFeed ¶
type PollingBlocksFeed struct {
// contains filtered or unexported fields
}
func NewPollingBlocksFeed ¶
func NewPollingBlocksFeed( logger usecase.Logger, client tendermintadapter.Client, options PollingBlocksFeedOptions, ) *PollingBlocksFeed
func (*PollingBlocksFeed) Poll ¶
func (feed *PollingBlocksFeed) Poll(subscriberCh chan<- uint64) error
func (*PollingBlocksFeed) Subscribe ¶
func (feed *PollingBlocksFeed) Subscribe(subscriberCh chan<- uint64) error
Click to show internal directories.
Click to hide internal directories.