package
Version:
v0.0.0-...-b631e0d
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Exec creates an API Client and uses its
GetGoogle method, then prints the result
APIClient is our custom client
NewAPIClient constructor initializes the client with our
custom Transport
GetGoogle is an API Call - we abstract away
the REST aspects
APITransport does a SetBasicAuth
for every request
RoundTrip does the basic auth before deferring to the
default transport
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.