Documentation
¶
Index ¶
Constants ¶
View Source
const ( RetryWaitMax = 120 * time.Second RetryMax = 60 )
View Source
const ( // SCRestAPIPrefix represents base URL path to execute smart contract rest points. SCRestAPIPrefix = "v1/screst/" SmartContractAddress = `6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d7` RestPrefix = SCRestAPIPrefix + SmartContractAddress GetAuthorizersPath = "/getAuthorizerNodes" )
Variables ¶
This section is empty.
Functions ¶
func MakeSCRestAPICall ¶
MakeSCRestAPICall calls smart contract with provided address and makes retryable request to smart contract resource with provided relative path using params.
func NewRetryableClient ¶
func NewRetryableClient() *retryablehttp.Client
NewRetryableClient creates default retryablehttp.Client with timeouts and embedded NewClient result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.