//
pkg.gl
Category
github.com/tinyci/ci-agents
clients
utils
package
0.3.0
Repository:
https://github.com/tinyci/ci-agents.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
Files
68 SLOC
#
Functions
CheckStatus
CheckStatus returns error if the status is not 200 OK.
Get
Get a *url.URL.
ParseJSON
ParseJSON simplification of json.NewDecoder.
RetryRequest
RetryRequest attempts a request on the client repeatedly until it succeeds or the context is canceled.