Documentation
¶
Overview ¶
Package connectors provides dfetch's default connector set, kept out of the engine so a program embedding the engine links only the connectors it imports. The CLI composes DefaultOptions with the user's config; a library user can do the same, pick individual factories, or skip this package entirely and register its own source.Connector implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Builtins ¶
Builtins returns the connector types usable without configuration. Each is also auto-instantiated under its own name as a schema (so New(nil) must work).
func ConfigOnly ¶
ConfigOnly returns the connector types available via config (`type: <name>`) but not auto-instantiated, because they need params to construct (e.g. a Postgres DSN).
func DefaultOptions ¶
DefaultOptions returns engine options reproducing the stock dfetch setup: the default registry plus every builtin registered under its own schema name. Append further options (e.g. engine.WithConfig) to override or add.
func DefaultRegistry ¶
DefaultRegistry returns a registry with every default connector type (Builtins and ConfigOnly) registered.
Types ¶
This section is empty.