Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidPayloadErr ¶
type InvalidPayloadErr struct {
// contains filtered or unexported fields
}
func NewInvalidPayloadError ¶
func NewInvalidPayloadError(msg string) *InvalidPayloadErr
func (*InvalidPayloadErr) Error ¶
func (e *InvalidPayloadErr) Error() string
type Service ¶
type Service interface { SendMessage(message dto.Message) (dto.Id, error) CheckStatusOfMessage(id uint32) (dto.MessageStatus, error) CheckStatusOfRecipient(id uint32, phone string) (dto.MessageStatus, error) }
func NewService ¶
func NewService(sender sms.Sender, messageDao dao.MessageDao, recipientDao dao.RecipientDao, statusStoreDays, messageMaxLen int, webhook, phoneMask string) Service
Click to show internal directories.
Click to hide internal directories.