ukraine

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = core.NewClient(core.ClientOptions{
	UserAgent:  "whitewater.guide robot",
	Timeout:    60,
	WithoutTLS: true,
})
View Source
var Descriptor = &core.ScriptDescriptor{
	Name: "ukraine",
	Mode: core.AllAtOnce,
	DefaultOptions: func() interface{} {
		return &optionsUkraine{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsUkraine); ok {
			return &scriptUkraine{
				name: name,
				url:  "http://meteo.gov.ua/kml/kml_hydro_warn.kml",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsUkraine{})
	},
}
View Source
var UserURL = "https://meteo.gov.ua/ua/33345/hydrostorm"

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