feat(mail): adds a test subcomand
This commit is contained in:
parent
3ccd936601
commit
09d3149932
3 changed files with 101 additions and 1 deletions
|
@ -20,6 +20,11 @@ type Config struct {
|
|||
Providers struct {
|
||||
OVH *providerConfigs.OVHConfig `yaml:"ovh"`
|
||||
} `yaml:"providers"`
|
||||
Test *struct {
|
||||
Address string `yaml:"address"`
|
||||
Username string `yaml:"username"`
|
||||
Password string `yaml:"password"`
|
||||
} `yaml:"test"`
|
||||
}
|
||||
|
||||
func LoadConfig(path string) (*Config, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue