datasource

package
v0.0.0-...-a852e11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetForecast

func GetForecast(time int) (int, float64, error)

GetForecast returns the weather forecast for a time

Types

type Weather

type Weather struct {
	Temperature     float64
	Type            int
	WindSpeed       float64
	WindDegree      float64
	CloudPercentage int
	Time            int
}

Weather represents the current weather data

func GetWeatherData

func GetWeatherData() (Weather, error)

GetWeatherData returns the weather data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL