cantabria

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name:        "cantabria",
	Description: "Confederación Hidrográfica del Cantábrico",
	Mode:        core.AllAtOnce,
	DefaultOptions: func() interface{} {
		return &optionsCantabria{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsCantabria); ok {
			return &scriptCantabria{
				name:         name,
				listURL:      "https://www.chcantabrico.es/web/chcmovil/tabla-resumen-niveles-",
				gaugeURLBase: "https://www.chcantabrico.es/sistema-automatico-de-informacion-detalle-estacion?cod_estacion=",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsCantabria{})
	},
}

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