chore(): docker-compose
This commit is contained in:
@@ -8,15 +8,15 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
SMTP SMTPConfig
|
||||
From string
|
||||
SMTP SMTPConfig `envPrefix:"SMTP_"`
|
||||
From string `env:"FROM"`
|
||||
}
|
||||
|
||||
type SMTPConfig struct {
|
||||
Host string
|
||||
Port string
|
||||
User string
|
||||
Password string
|
||||
Host string `env:"HOST"`
|
||||
Port string `env:"PORT"`
|
||||
User string `env:"USER"`
|
||||
Password string `env:"PASSWORD"`
|
||||
}
|
||||
|
||||
type Service struct {
|
||||
|
||||
Reference in New Issue
Block a user