Versions in this module Expand all Collapse all v0 v0.3.1 Nov 29, 2024 v0.3.0 Nov 29, 2024 Changes in this version + type HcHttpClient struct + func NewHcHttpClient(httpClient *impl.DefaultHttpClient) *HcHttpClient + func (hc *HcHttpClient) GetCredential() auth.ICredential + func (hc *HcHttpClient) Sync(req interface{}, reqDef *def.HttpRequestDef) (interface{}, error) + func (hc *HcHttpClient) SyncInvoke(req interface{}, reqDef *def.HttpRequestDef, exchange *exchange.SdkExchange) (interface{}, error) + func (hc *HcHttpClient) SyncInvokeWithExtraHeaders(req interface{}, reqDef *def.HttpRequestDef, exchange *exchange.SdkExchange, ...) (interface{}, error) + func (hc *HcHttpClient) WithCredential(credential auth.ICredential) *HcHttpClient + func (hc *HcHttpClient) WithEndpoints(endpoints []string) *HcHttpClient + func (hc *HcHttpClient) WithErrorHandler(errorHandler sdkerr.ErrorHandler) *HcHttpClient + func (hc *HcHttpClient) WithExtraHeaders(extraHeaders map[string]string) *HcHttpClient + type HcHttpClientBuilder struct + CredentialsType []string + func NewHcHttpClientBuilder() *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) SafeBuild() (client *HcHttpClient, err error) + func (builder *HcHttpClientBuilder) WithCredential(iCredential auth.ICredential) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithCredentialsType(credentialsType string) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithDerivedAuthServiceName(derivedAuthServiceName string) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithEndpoints(endpoints []string) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithErrorHandler(errorHandler sdkerr.ErrorHandler) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithHttpConfig(httpConfig *config.HttpConfig) *HcHttpClientBuilder + func (builder *HcHttpClientBuilder) WithRegion(region *region.Region) *HcHttpClientBuilder