Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthenticatorFromEnvironment ¶
func GetAuthenticatorFromEnvironment(credentialKey string) (core.Authenticator, error)
GetAuthenticatorFromEnvironment instantiates an Authenticator using service properties retrieved from external config sources.
Types ¶
type BaseService ¶
type BaseService struct { *core.BaseService // contains filtered or unexported fields }
func NewBaseService ¶
func NewBaseService(opts *core.ServiceOptions) (*BaseService, error)
func (*BaseService) Clone ¶
func (c *BaseService) Clone() *BaseService
func (*BaseService) Request ¶
func (c *BaseService) Request(req *http.Request, result interface{}) (detailedResponse *core.DetailedResponse, err error)
func (*BaseService) SetHTTPClient ¶
func (c *BaseService) SetHTTPClient(client *http.Client)
SetHTTPClient will set "client" as the http.Client instance to be used to invoke individual HTTP requests. If automatic retries are currently enabled on "service", then "client" will be set as the embedded client instance within the retryable client; otherwise "client" will be stored directly on "service".
func (*BaseService) SetServiceURL ¶
func (c *BaseService) SetServiceURL(url string) error
Click to show internal directories.
Click to hide internal directories.