Versions in this module Expand all Collapse all v1 v1.6.0 Sep 18, 2020 Changes in this version + func CreateBearerHTTPClient(ctx context.Context, token string) *http.Client + func Do(client *http.Client, req *http.Request, v interface{}) (*http.Response, error) + func GetAccessToken(envName string) (string, error) + func IsValidResult(resp *http.Response) error + func PathEscape(s string) string + func ShouldRetry(resp *http.Response) bool + type AddHeaderTransport struct + T http.RoundTripper + func NewAddHeaderTransport(T http.RoundTripper, key, value string) *AddHeaderTransport + func (adt *AddHeaderTransport) RoundTrip(req *http.Request) (*http.Response, error)