mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:27:31 +00:00
feat: add stdout and filesystem notification channels (#2925)
* feat: add filesystem and stdout notification channels * configure through env vars * compile * feat: add compact option for debug notification channels * fix channel mock generation * avoid sensitive information in error message Co-authored-by: Livio Amstutz <livio.a@gmail.com> * add review improvements Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
15
internal/notification/messages/sms.go
Normal file
15
internal/notification/messages/sms.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package messages
|
||||
|
||||
import "github.com/caos/zitadel/internal/notification/channels"
|
||||
|
||||
var _ channels.Message = (*SMS)(nil)
|
||||
|
||||
type SMS struct {
|
||||
SenderPhoneNumber string
|
||||
RecipientPhoneNumber string
|
||||
Content string
|
||||
}
|
||||
|
||||
func (msg *SMS) GetContent() string {
|
||||
return msg.Content
|
||||
}
|
Reference in New Issue
Block a user