mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 07:27:34 +00:00
chore: move the go code into a subfolder
This commit is contained in:
23
apps/api/internal/notification/channels/smtp/config.go
Normal file
23
apps/api/internal/notification/channels/smtp/config.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package smtp
|
||||
|
||||
type Config struct {
|
||||
SMTP SMTP
|
||||
Tls bool
|
||||
From string
|
||||
FromName string
|
||||
ReplyToAddress string
|
||||
}
|
||||
|
||||
type SMTP struct {
|
||||
Host string
|
||||
User string
|
||||
Password string
|
||||
}
|
||||
|
||||
func (smtp *SMTP) HasAuth() bool {
|
||||
return smtp.User != "" && smtp.Password != ""
|
||||
}
|
||||
|
||||
type ConfigHTTP struct {
|
||||
Endpoint string
|
||||
}
|
Reference in New Issue
Block a user