Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct { AwsLib libaws.AwsInterface Providers provider.ProvidersInterface }
Gateway ...
func (*Gateway) GetByID ¶
func (gateway *Gateway) GetByID(ID string) (*entity.DynamoItemResponse, error)
GetByID ...
func (*Gateway) GetHistory ¶
func (gateway *Gateway) GetHistory(msisdn string) ([]entity.DynamoItemResponse, error)
GetHistory ...
func (*Gateway) PostNotification ¶
func (gateway *Gateway) PostNotification(data *entity.PostNotificationRequest, wg *sync.WaitGroup)
PostNotification ... return *entity.PostNotificationResponse
type GatewayInterface ¶
type GatewayInterface interface { PostNotification(data *entity.PostNotificationRequest, wg *sync.WaitGroup) GetHistory(msisdn string) ([]entity.DynamoItemResponse, error) GetByID(ID string) (*entity.DynamoItemResponse, error) }
GatewayInterface declare All Method
Click to show internal directories.
Click to hide internal directories.