ukea

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name:        "ukea",
	Description: "UK Environment Agency",
	Mode:        core.AllAtOnce,
	DefaultOptions: func() interface{} {
		return &optionsUkea{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if opts, ok := options.(*optionsUkea); ok {
			return &scriptUkea{
				rloi: opts.RLOI,
				name: name,
				url:  "http://environment.data.gov.uk/flood-monitoring",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsUkea{})
	},
}

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