Documentation
¶
Overview ¶
Package builtin lists the workers that ship with the program, so the processes that run them (dexafix serve worker, and the single-process mode) choose providers by name without knowing any of them. A new provider is one more line in providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// HTTPClient is used for outside calls; nil gives each provider its own default.
HTTPClient *http.Client
// WithingsAPIBase points the Withings worker at another address.
WithingsAPIBase string
// StrengthLevelBase points the Strength Level worker at another address.
StrengthLevelBase string
}
Options are what tests change; production uses the zero value.
Click to show internal directories.
Click to hide internal directories.