Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventForEmail ¶
EventForEmail : Email implementation for SMS
func (EventForEmail) ParseTemplate ¶
func (event EventForEmail) ParseTemplate() ([]db.Message, error)
ParseTemplate : Template Parser Implementation for Email
func (EventForEmail) SendMessage ¶
func (event EventForEmail) SendMessage(message db.Message) db.MessageResponse
SendMessage : Messaging Sending for Email
type EventForFake ¶
func (EventForFake) ParseTemplate ¶
func (event EventForFake) ParseTemplate() ([]db.Message, error)
ParseTemplate : Parsing Template for SMS
func (EventForFake) SendMessage ¶
func (event EventForFake) SendMessage(message db.Message) db.MessageResponse
SendMessage : Message Sending for SMS
type EventForMessage ¶
type EventForMessage interface { ParseTemplate() ([]db.Message, error) SendMessage(message db.Message) db.MessageResponse }
EventForMessage : Interface to be Implemented For Delivery Channels
type EventForSMS ¶
EventForSMS : SMS implementation for SMS
func (EventForSMS) ParseTemplate ¶
func (event EventForSMS) ParseTemplate() ([]db.Message, error)
ParseTemplate : Parsing Template for SMS
func (EventForSMS) SendMessage ¶
func (event EventForSMS) SendMessage(message db.Message) db.MessageResponse
SendMessage : Message Sending for SMS
Click to show internal directories.
Click to hide internal directories.