yahoo

package module
v0.0.0-...-c177843 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func (*Session) GetWeatherForecast

func (s *Session) GetWeatherForecast(location string, limit uint, u TemperatureUnit) ([]WeatherForecast, error)

func (*Session) Init

func (s *Session) Init() error

func (*Session) IsInitialized

func (s *Session) IsInitialized() bool

type TemperatureUnit

type TemperatureUnit uint8
const (
	TemperatureUnit_Fahrenheit TemperatureUnit = 'f'
	TemperatureUnit_Celcius    TemperatureUnit = 'c'
)

type WeatherForecast

type WeatherForecast struct {
	Code string
	Date string
	Day  string
	High string
	Low  string
	Text string
}

Jump to

Keyboard shortcuts

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