Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSuccessHttpStatusCodes = []int{http.StatusOK}
Functions ¶
Types ¶
type RestClient ¶
type RestClient interface { SetBaseUrl(u string) RestClient HttpBaseUrl() string HttpClient() *http.Client SetHeadersFunc(hf core.HttpHeaderFunc) RestClient HeadersFunc() core.HttpHeaderFunc Credentials() *credentials.Credentials }
func NewRestClient ¶
func NewRestClient(credentials *credentials.Credentials, httpClient http.Client) RestClient
Click to show internal directories.
Click to hide internal directories.