galicia2

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name: "galicia2",
	Mode: core.AllAtOnce,
	DefaultOptions: func() interface{} {
		return &optionsGalicia2{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsGalicia2); ok {
			return &scriptGalicia2{
				name:           name,
				listURL:        "http://saih.chminosil.es/index.php?url=/datos/resumen_excel",
				gaugeURLFormat: "http://saih.chminosil.es/index.php?url=/datos/ficha/estacion:%s",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsGalicia2{})
	},
}

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