Documentation ¶
Index ¶
- type NotificationGateway
- func (gateway *NotificationGateway) GetByID(ID string) (*entity.DynamoItemHistory, error)
- func (gateway *NotificationGateway) GetHistory(msisdn string) ([]entity.DynamoItemHistory, error)
- func (gateway *NotificationGateway) PostNotification(data *entity.PostNotificationRequest, wg *sync.WaitGroup)
- func (gateway *NotificationGateway) PostNotificationEmail(data *entity.PostNotificationRequestEmail, wg *sync.WaitGroup)
- func (gateway *NotificationGateway) PostNotificationPush()
- type NotificationGatewayInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationGateway ¶
type NotificationGateway struct { AwsLib libaws.AwsInterface Providers provider.ProvidersInterface Sendgrid libsendgrid.LibsendgridInterface }
NotificationGateway ...
func NotificationGatewayHandler ¶
func NotificationGatewayHandler() *NotificationGateway
NotificationGatewayHandler Handler
func (*NotificationGateway) GetByID ¶
func (gateway *NotificationGateway) GetByID(ID string) (*entity.DynamoItemHistory, error)
GetByID ...
func (*NotificationGateway) GetHistory ¶
func (gateway *NotificationGateway) GetHistory(msisdn string) ([]entity.DynamoItemHistory, error)
GetHistory ...
func (*NotificationGateway) PostNotification ¶
func (gateway *NotificationGateway) PostNotification(data *entity.PostNotificationRequest, wg *sync.WaitGroup)
PostNotification ...
func (*NotificationGateway) PostNotificationEmail ¶
func (gateway *NotificationGateway) PostNotificationEmail(data *entity.PostNotificationRequestEmail, wg *sync.WaitGroup)
PostNotificationEmail ...
func (*NotificationGateway) PostNotificationPush ¶
func (gateway *NotificationGateway) PostNotificationPush()
type NotificationGatewayInterface ¶
type NotificationGatewayInterface interface { GetByID(ID string) (*entity.DynamoItemHistory, error) GetHistory(msisdn string) ([]entity.DynamoItemHistory, error) PostNotificationEmail(data *entity.PostNotificationRequestEmail, wg *sync.WaitGroup) PostNotification(data *entity.PostNotificationRequest, wg *sync.WaitGroup) PostNotificationPush() }
NotificationGatewayInterface ...
Click to show internal directories.
Click to hide internal directories.