Documentation ¶
Index ¶
- Variables
- func SyncWithDynamo(opType, primaryIndex, txData, txStatus, resId string, ...) error
- func SyncWithPortalDB(...)
- type 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
- type Key
- type TransactionInfo
- type TransactionInfoUpdate
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("database-client")
Functions ¶
func SyncWithDynamo ¶
func SyncWithDynamo(opType, primaryIndex, txData, txStatus, resId string, logHandler transaction.Payment) error
func SyncWithPortalDB ¶
func SyncWithPortalDB( operationType, msgType, msgName, originalMsgId, orginalInstructionId, instructionId, txHash, creditorPaymentAddress string, logHandler transaction.Payment, fundHandler *transaction.CreateFundingOpereations, firebaseData *sendmodel.StatusData)
Types ¶
type DynamoClient ¶
type DynamoClient struct { ProfileFile string ProfileName string Region string TableName string // contains filtered or unexported fields }
var DC DynamoClient
func (*DynamoClient) AddTransactionData ¶
func (dc *DynamoClient) AddTransactionData(transactionID, data, status, redId, paymentInfo string) error
func (*DynamoClient) CreateConnection ¶
func (dc *DynamoClient) CreateConnection() error
func (*DynamoClient) DeleteTransactionData ¶
func (dc *DynamoClient) DeleteTransactionData(transactionID string) error
func (*DynamoClient) GetTransactionData ¶
func (*DynamoClient) UpdateTransactionData ¶
func (dc *DynamoClient) UpdateTransactionData(transactionID, data, status, resId, paymentInfo string) error
type Item ¶
type Item struct { Transactionid string `json:"transactionid"` Info TransactionInfo `json:"info"` }
type TransactionInfo ¶
Click to show internal directories.
Click to hide internal directories.