Documentation ¶
Index ¶
- Constants
- func CheckError(e error)
- func GETProtectedResource(endpoint string, token string, timeout float64) (*http.Response, error)
- func GETProtectedResourceStatusCode(endpoint string, token string, timeout float64) int
- func GETResource(endpoint string, timeout float64, maxTries int) (*http.Response, error)
- func GETResourceStatusCode(endpoint string, timeout float64, maxTries int) int
- type HRM
Constants ¶
View Source
const REQUEST_SUCCEEDED = "Success"
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(e error)
func GETProtectedResource ¶ added in v0.2.0
func GETResource ¶ added in v0.2.0
GET request without verification. maxTries > 1 is used when getting OAS file from server
Types ¶
Click to show internal directories.
Click to hide internal directories.