gateway

package
v0.0.0-...-5430d50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 5 Imported by: 0

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 GatewayHandler

func GatewayHandler() *Gateway

GatewayHandler Handler

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL