Documentation
¶
Overview ¶
* * Generated by go-doudou v2.1.6. * You can edit it as your need.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Source struct {
Addr string
User string
Pass string
IncludeTableRegex []string
ExcludeTableRegex []string
Migrate bool
Databases []string
Dump bool
Sync bool
Handler string
DumpBatchSize int
TargetDbSuffix string
}
config.Config
}
var G_Config *Config
func LoadFromEnv ¶
func LoadFromEnv() *Config
Click to show internal directories.
Click to hide internal directories.