Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Descriptor = &core.ScriptDescriptor{ Name: "wales", Description: "Natural Resources Wales", Mode: core.AllAtOnce, DefaultOptions: func() interface{} { return &optionsWales{} }, Factory: func(name string, options interface{}) (core.Script, error) { if opts, ok := options.(*optionsWales); ok { return &scriptWales{ name: name, url: "https://api.naturalresources.wales/rivers-and-seas/v1/api/StationData", options: *opts, }, nil } return nil, fmt.Errorf("failed to cast %T", optionsWales{}) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.