mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 23:17:33 +00:00
15 lines
292 B
Go
15 lines
292 B
Go
package domain
|
|
|
|
type SMTPConfigState int32
|
|
|
|
const (
|
|
SMTPConfigStateUnspecified SMTPConfigState = iota
|
|
SMTPConfigStateActive
|
|
SMTPConfigStateRemoved
|
|
SMTPConfigStateInactive
|
|
)
|
|
|
|
func (s SMTPConfigState) Exists() bool {
|
|
return s != SMTPConfigStateUnspecified && s != SMTPConfigStateRemoved
|
|
}
|