Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // APIVersion ... APIVersion = "1.0.0" // APIName ... APIName = "Droll GraphQL API" // ComicsSupported ... ComicsSupported = []string{XKCDComicName} // Limit ... Limit = 10 // XKCDComicName ... XKCDComicName = "xkcd" // XKCDBaseAPIURL ... XKCDBaseAPIURL = "https://xkcd.com/" // XKCDBaseAPIPath ... XKCDBaseAPIPath = "/info.0.json" // XKCDStartIndex ... XKCDStartIndex = 1 )
Functions ¶
func BuildAPIURL ¶
BuildAPIURL : Creates the API URL based on Comic and URL parameters
func FetchResponse ¶
FetchResponse : Gets response for HTTP GET request made on API URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.