Documentation ¶
Index ¶
- func GetBackoffDurationForAttempts(numAttempts int64, maxRetryTime time.Duration) (time.Duration, bool)
- func GetBlockResult(client URIClient, height int64) (*ctypes.ResultBlockResults, error)
- func GetBlockResultWithRetry(client URIClient, height int64, retryMaxAttempts int64, ...) (*ctypes.ResultBlockResults, error)
- type URIClient
- func (c *URIClient) DoBlockResults(ctx context.Context, height *int64) (*ctypes.ResultBlockResults, error)
- func (c *URIClient) DoBlockSearch(ctx context.Context, query string, page, perPage *int, orderBy string) (*ctypes.ResultBlockSearch, error)
- func (c *URIClient) DoHTTPGet(ctx context.Context, method string, params map[string]interface{}, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockResult ¶
func GetBlockResult(client URIClient, height int64) (*ctypes.ResultBlockResults, error)
func GetBlockResultWithRetry ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.