nzbop

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name:        "nzbop",
	Description: "New Zealand: Bay of Plenty Regional Council",
	Mode:        core.OneByOne,
	DefaultOptions: func() interface{} {
		return &optionsBop{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsBop); ok {
			return &scriptBop{
				name:       name,
				numWorkers: 5,
				listURL:    "http://monitoring.boprc.govt.nz/MonitoredSites/cgi-bin/hydwebserver.cgi/districts/details?district=3",
				pageURL:    "http://monitoring.boprc.govt.nz/MonitoredSites/cgi-bin/hydwebserver.cgi/sites/details?site=%s&treecatchment=22",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsBop{})
	},
}

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