mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 08:28:51 +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 <[email protected]> * add review improvements Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
2bbbc3551a
commit
aa2a1848da
@@ -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