ecuador

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name: "ecuador",
	Mode: core.OneByOne,
	DefaultOptions: func() interface{} {
		return &optionsEcuador{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsEcuador); ok {
			return &scriptEcuador{
				name:           name,
				listURL1:       "http://186.42.174.243:9090/RTMCProject.js.jgz",
				listURL2:       "http://186.42.174.236/InamhiEmas/json.php?callback=",
				gaugeURLFormat: "http://186.42.174.243:9090/?command=DataQuery&uri=%s%%3Ahora1&format=json&mode=most-recent&p1=1&p2=&headsig=0&order=real-time&_=%d",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsEcuador{})
	},
}

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