Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RLHTTPClient ¶
RLHTTPClient Rate Limited HTTP Client
func NewClient ¶
func NewClient(rl *rate.Limiter) *RLHTTPClient
NewClient return rate_limited_http client with a ratelimiter
func (*RLHTTPClient) GetArtifactSHA256 ¶
GetArtifactSHA256 attempts to pull the specified artifact and generate a sha256 hash of it.
On success, it will return the sha256 hash as a string.
Click to show internal directories.
Click to hide internal directories.