# Functions
No description provided by the author
ArrAppend inserts a new pointer at a specified index in a pointer array.
ArrContains checks if an element is in the array.
ArrIndex returns the index of the element in the array.
No description provided by the author
ArrPop removes the last element from the array.
ArrPush adds an element to the end of the array.
ArrRemove removes an element from the array.
ArrShift removes the first element from the array.
ArrUnshift adds an element to the beginning of the array.
BackoffPolicyFactory creates a BackoffPolicy based on the option.
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
ConcatArr concatenates two arrays.
Convert is use convert map[string]interface object to struct.
CreateReadStream would typically return an os.File or similar.
CreateWriteStream would typically return an os.File or similar.
No description provided by the author
DoRequest is used send request to server.
EncodeURL encodes a URL string.
toFloat64 converts a numeric value to float64 for comparison.
Exists checks if the file exists.
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
Floor returns the largest integer less than or equal to the input number as int.
No description provided by the author
ForceFloat32 attempts to assert that a is of type float32.
ForceFloat64 attempts to assert that a is of type float64.
No description provided by the author
ForceInt16 attempts to assert that a is of type int16.
ForceInt32 attempts to assert that a is of type int32.
No description provided by the author
ForceInt8 attempts to assert that a is of type int8.
ForceUInt16 attempts to assert that a is of type uint16.
ForceUInt32 attempts to assert that a is of type uint32.
No description provided by the author
ForceUInt8 attempts to assert that a is of type uint8.
getBackoffDelay calculates backoff delay.
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
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
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
No description provided by the author
NewCastError is used for cast type fails.
NewFile creates a new instance of File.
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
NewRequest is used shortly create Request.
NewResponse is create response with http response.
No description provided by the author
No description provided by the author
NewRuntimeObject is used for shortly create runtime object.
NewSDKError is used for shortly create SDKError object.
NewURL constructs a new URL from a string.
No description provided by the author
Parse constructs a new URL from a string.
No description provided by the author
PathEncode encodes each segment of a path.
PercentEncode encodes a string for use in URLs, replacing certain characters.
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
Recover is used to format error.
No description provided by the author
Round returns the nearest integer to the input number as int.
shouldRetry determines if a retry should be attempted.
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
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
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
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
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
No description provided by the author
No description provided by the author
# Constants
3 days in milliseconds.
No description provided by the author
120 seconds.
100 milliseconds.
# Structs
CastError is used for cast type fails.
File struct to represent the file.
No description provided by the author
No description provided by the author
EqualJitterBackoffPolicy implementation.
ExponentialBackoffPolicy implementation.
No description provided by the author
No description provided by the author
FixedBackoffPolicy implementation.
FullJitterBackoffPolicy implementation.
RandomBackoffPolicy implementation.
Request is used wrap http request.
Response is use d wrap http response.
RetryCondition holds the retry conditions.
RetryOptions holds the retry options.
RetryPolicyContext holds context for the retry operation.
RuntimeObject is used for converting http configuration.
SDKError struct is used save error code and message.
定义 Event 结构体.
URL is a wrapper around the URL type.
# Interfaces
BackoffPolicy interface with a method to get delay time.
No description provided by the author
No description provided by the author
Number is an interface that can be implemented by any numeric type.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author