cantabria

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 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",
	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