mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:47:32 +00:00
chore: move the go code into a subfolder
This commit is contained in:
14
apps/api/internal/domain/smtp.go
Normal file
14
apps/api/internal/domain/smtp.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package domain
|
||||
|
||||
type SMTPConfigState int32
|
||||
|
||||
const (
|
||||
SMTPConfigStateUnspecified SMTPConfigState = iota
|
||||
SMTPConfigStateActive
|
||||
SMTPConfigStateRemoved
|
||||
SMTPConfigStateInactive
|
||||
)
|
||||
|
||||
func (s SMTPConfigState) Exists() bool {
|
||||
return s != SMTPConfigStateUnspecified && s != SMTPConfigStateRemoved
|
||||
}
|
Reference in New Issue
Block a user