openweathermap

package
v0.0.0-...-55f5b86 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenWeatherMapLink struct {
	channels.CommonLink
	ApiKey    string
	Unit      string
	Latitude  float64
	Longitude float64
	Interval  time.Duration
}

func (*OpenWeatherMapLink) Init

func (l *OpenWeatherMapLink) Init() error

func (*OpenWeatherMapLink) Watch

func (l *OpenWeatherMapLink) Watch(shutdown <-chan struct{}, events chan<- channels.Event)

type SlackChannel

type SlackChannel struct {
	channels.CommonChannel
}
func (c *SlackChannel) NewLink() channels.Link

Jump to

Keyboard shortcuts

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