Documentation
¶
Overview ¶
Package configmigrate provides a way to upgrade the YAML configuration file.
Index ¶
Constants ¶
View Source
const LastSchemaVersion uint = 29
LastSchemaVersion is the most recent schema version.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// WorkingDir is the absolute path to the working directory of AdGuardHome.
WorkingDir string
// DataDir is the absolute path to the data directory of AdGuardHome.
DataDir string
}
Config is a the configuration for initializing a Migrator.
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator performs the YAML configuration file migrations.
Click to show internal directories.
Click to hide internal directories.