ratz/src/modules/outsideworld/owm/openweathermap.go

var errUnitUnavailable

var errLangUnavailable

var errInvalidKey

var errInvalidOption

var errInvalidHttpClient

var errForecastUnavailable

var errExcludesUnavailable

var errCountOfCityIDs

var DataUnits

var baseURL

var onecallURL

var iconURL

var groupURL

var stationURL

var forecast5Base

var forecast16Base

var historyURL

var pollutionURL

var uvURL

var dataPostURL

var LangCodes

const ExcludeCurrent

const ExcludeMinutely

const ExcludeHourly

const ExcludeDaily

const ExcludeAlerts

var Excludes

type Config

type APIError

type Coordinates

type Sys

type Wind

type Weather

type Main

type Clouds

//		return key
//	}
func setKey(key string) (string, error) {}

// ValidDataUnit makes sure the string passed in is an accepted
// unit of measure to be used for the return data.
func ValidDataUnit(u string) bool {}

// ValidLangCode makes sure the string passed in is an
// acceptable lang code.
func ValidLangCode(c string) bool {}

// ValidDataUnitSymbol makes sure the string passed in is an
// acceptable data unit symbol.
func ValidDataUnitSymbol(u string) bool {}

// ValidExcludes makes sure the string passed in is an
// acceptable excludes options.
func ValidExcludes(e []string) (string, error) {}

// ValidAPIKey makes sure that the key given is a valid one
func ValidAPIKey(key string) error {}

// CheckAPIKeyExists will see if an API key has been set.
func (c *Config) CheckAPIKeyExists() bool {}

type Settings

// NewSettings returns a new Setting pointer with default http client.
func NewSettings() *Settings {}

type Option

// WithHttpClient sets custom http client when creating a new Client.
func WithHttpClient(c *http.Client) Option {}

// setOptions sets Optional client settings to the Settings pointer
func setOptions(settings *Settings, options []Option) error {}