Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = log.New(os.Stderr).WithColor().WithDebug()
Logger our global logger
Functions ¶
func RegisterImporter ¶
RegisterImporter registers the given importer into the global imports registry
Types ¶
type Config ¶
type Config struct { DataDir string `hcl:"data_dir"` Tables []*Table `hcl:"table,block"` Debug bool `hcl:"debug"` WorkersCount int `hcl:"workers_count"` }
func LoadConfigFromFile ¶
type Importer ¶
type Importer interface { Open(dsn string) error Import(loader string) (<-chan map[string]interface{}, <-chan error, <-chan bool) }
Importer is a contract for all drivers that imports data into xyr internal storage
func OpenImporter ¶
OpenImporter opens the specified importer via its dsn
Click to show internal directories.
Click to hide internal directories.