Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { OldRedis Redis `yaml:"old_redis"` ConcurrentWorkers uint `yaml:"concurrent_workers"` NewRedis Redis `yaml:"new_redis"` Databases []int `yaml:"migration_databases"` ClearBeforeMigration bool `yaml:"clear_before_migration"` }
func ParseConfig ¶
func ParseConfig(configFile string) Configuration
ParseConfig is to parse YAML configuration file
Click to show internal directories.
Click to hide internal directories.