Documentation ¶
Index ¶
- type Aws
- func (aw *Aws) CallbackSendUpdate(ID, status, oldHistory string, newHistory string) (*dynamodb.UpdateItemOutput, error)
- func (aw *Aws) Consumer(data *kinesis.GetRecordsInput) (*kinesis.GetRecordsOutput, error)
- func (aw *Aws) Describe(data *kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error)
- func (aw *Aws) GetDescribeInput() *kinesis.DescribeStreamInput
- func (aw *Aws) GetDynamoDB() *dynamodb.DynamoDB
- func (aw *Aws) GetDynamoData(ID string) (*dynamodb.GetItemOutput, error)
- func (aw *Aws) GetDynamoHistory(receiverAddress string) (*dynamodb.ScanOutput, error)
- func (aw *Aws) GetKinesis() *kinesis.Kinesis
- func (aw *Aws) GetShardIterator() (string, error)
- func (aw *Aws) GetStorage() *s3.S3
- func (aw *Aws) InputDynamo(itemDynamo *dynamoEntyty.DynamoItem, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error)
- func (aw *Aws) InputDynamoEmail(itemDynamo *dynamoEntyty.DynamoItemEmail, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error)
- func (aw *Aws) ReadFile(key string) (interface{}, error)
- func (aw *Aws) Send(data []byte, stack string, wg *sync.WaitGroup) (*kinesis.PutRecordOutput, error)
- func (aw *Aws) SendMail(ID string, itemDynamo *entity.DynamoItemEmail, stack string, ...)
- func (aw *Aws) SendStart(ID string, itemDynamo *entity.DynamoItem, stack string, wg *sync.WaitGroup)
- func (aw *Aws) Sessions() *aws.Config
- func (aw *Aws) SessionsKinesis() *aws.Config
- func (aw *Aws) UpdateDynamo(ID, status, data string, history *dynamoEntyty.HistoryItem) (*dynamodb.UpdateItemOutput, error)
- func (aw *Aws) UploadFile(filePath string) error
- func (aw *Aws) WaitUntil(data *kinesis.DescribeStreamInput) error
- func (aw *Aws) WaitUntilNotExist(data *kinesis.DescribeStreamInput) error
- type AwsInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aws ¶
type Aws struct { Storage storage.StorageInterface Logs logging.LogInterface }
Aws ...
func (*Aws) CallbackSendUpdate ¶
func (aw *Aws) CallbackSendUpdate(ID, status, oldHistory string, newHistory string) (*dynamodb.UpdateItemOutput, error)
CallbackSendUpdate ...
func (*Aws) Consumer ¶
func (aw *Aws) Consumer(data *kinesis.GetRecordsInput) (*kinesis.GetRecordsOutput, error)
Consumer ...
func (*Aws) Describe ¶
func (aw *Aws) Describe(data *kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error)
Describe ...
func (*Aws) GetDescribeInput ¶
func (aw *Aws) GetDescribeInput() *kinesis.DescribeStreamInput
GetDescribeInput ...
func (*Aws) GetDynamoDB ¶
GetDynamoDB get dynamodb service return *dynamodb.DynamoDB
func (*Aws) GetDynamoData ¶
func (aw *Aws) GetDynamoData(ID string) (*dynamodb.GetItemOutput, error)
GetDynamoData ..
func (*Aws) GetDynamoHistory ¶
func (aw *Aws) GetDynamoHistory(receiverAddress string) (*dynamodb.ScanOutput, error)
GetDynamoHistory ..
func (*Aws) GetKinesis ¶
GetKinesis get dynamodb service return *kinesis.Kinesis
func (*Aws) GetShardIterator ¶
GetShardIterator ...
func (*Aws) InputDynamo ¶
func (aw *Aws) InputDynamo(itemDynamo *dynamoEntyty.DynamoItem, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error)
InputDynamo ...
func (*Aws) InputDynamoEmail ¶
func (aw *Aws) InputDynamoEmail(itemDynamo *dynamoEntyty.DynamoItemEmail, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error)
InputDynamoEmail ...
func (*Aws) Send ¶
func (aw *Aws) Send(data []byte, stack string, wg *sync.WaitGroup) (*kinesis.PutRecordOutput, error)
Send ...
func (*Aws) SendMail ¶
func (aw *Aws) SendMail(ID string, itemDynamo *entity.DynamoItemEmail, stack string, wg *sync.WaitGroup)
SendMail ...
func (*Aws) SendStart ¶
func (aw *Aws) SendStart(ID string, itemDynamo *entity.DynamoItem, stack string, wg *sync.WaitGroup)
SendStart ...
func (*Aws) SessionsKinesis ¶
SessionsKinesis ... @cfg: *entity.AwsConfig
func (*Aws) UpdateDynamo ¶
func (aw *Aws) UpdateDynamo(ID, status, data string, history *dynamoEntyty.HistoryItem) (*dynamodb.UpdateItemOutput, error)
UpdateDynamo ...
func (*Aws) WaitUntil ¶
func (aw *Aws) WaitUntil(data *kinesis.DescribeStreamInput) error
WaitUntil ...
func (*Aws) WaitUntilNotExist ¶
func (aw *Aws) WaitUntilNotExist(data *kinesis.DescribeStreamInput) error
WaitUntilNotExist ...
type AwsInterface ¶
type AwsInterface interface { // dynamo InputDynamo(itemDynamo *dynamoEntyty.DynamoItem, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error) InputDynamoEmail(itemDynamo *dynamoEntyty.DynamoItemEmail, wg *sync.WaitGroup) (*dynamodb.PutItemOutput, error) UpdateDynamo(ID, status, data string, history *dynamoEntyty.HistoryItem) (*dynamodb.UpdateItemOutput, error) GetDynamoData(ID string) (*dynamodb.GetItemOutput, error) GetDynamoHistory(receiverAddress string) (*dynamodb.ScanOutput, error) CallbackSendUpdate(ID, status, oldHistory string, newHistory string) (*dynamodb.UpdateItemOutput, error) // kinesis WaitUntil(*kinesis.DescribeStreamInput) error WaitUntilNotExist(data *kinesis.DescribeStreamInput) error SendStart(ID string, itemDynamo *dynamoEntyty.DynamoItem, stack string, wg *sync.WaitGroup) SendMail(ID string, itemDynamo *entity.DynamoItemEmail, stack string, wg *sync.WaitGroup) Send(data []byte, stack string, wg *sync.WaitGroup) (*kinesis.PutRecordOutput, error) GetShardIterator() (string, error) Consumer(data *kinesis.GetRecordsInput) (*kinesis.GetRecordsOutput, error) GetDescribeInput() *kinesis.DescribeStreamInput Describe(data *kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error) UploadFile(filePath string) error ReadFile(key string) (interface{}, error) }
AwsInterface ...
Click to show internal directories.
Click to hide internal directories.