Versions in this module Expand all Collapse all v0 v0.1.2 Aug 6, 2021 v0.1.1 Jul 8, 2021 Changes in this version + var LOGGER = logging.MustGetLogger("database-client") + func SyncWithDynamo(opType, primaryIndex, txData, txStatus, resId string, ...) error + func SyncWithPortalDB(...) + type DynamoClient struct + ProfileFile string + ProfileName string + Region string + TableName string + var DC DynamoClient + func (dc *DynamoClient) AddTransactionData(transactionID, data, status, redId, paymentInfo string) error + func (dc *DynamoClient) CreateConnection() error + func (dc *DynamoClient) DeleteTransactionData(transactionID string) error + func (dc *DynamoClient) GetTransactionData(transactionID string) (*string, *string, *string, *string, error) + func (dc *DynamoClient) UpdateTransactionData(transactionID, data, status, resId, paymentInfo string) error + type Item struct + Info TransactionInfo + Transactionid string + type Key struct + Transactionid string + type TransactionInfo struct + PaymentInfo string + ResId string + TxData string + TxStatus string + type TransactionInfoUpdate struct + PaymentInfo string + ResId string + TxData string + TxStatus string