Versions in this module Expand all Collapse all v0 v0.1.0 May 9, 2019 Changes in this version + const APIKeyHeader + const LineCodeAll + const LineCodeBlue + const LineCodeGreen + const LineCodeOrange + const LineCodeRed + const LineCodeSilver + const LineCodeYellow + func CloseResponseBody(response *http.Response) + type Client struct + APIKey string + HTTPClient HTTPClient + func NewWMATAClient(apiKey string, httpClient http.Client) *Client + func NewWMATADefaultClient(apiKey string) *Client + func (client *Client) BuildAndSendGetRequest(responseFormat ResponseType, url string, queryParams map[string]string, ...) error + func (client *Client) ValidateAPIKey() (int, error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type ResponseType int + const JSON + const XML