galicia

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name: "galicia",
	Mode: core.AllAtOnce,
	DefaultOptions: func() interface{} {
		return &optionsGalicia{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsGalicia); ok {
			return &scriptGalicia{
				name: name,
				url:  "http://servizos.meteogalicia.es/rss/observacion/jsonAforos.action",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsGalicia{})
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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