Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDBClient ¶
DynamoDBResultWriter struct
Contains the destination and dynamodb client for interacting with DynamoDB
func NewDynamoDBClient ¶
func NewDynamoDBClient(tableName string, useBatch bool) *DynamoDBClient
Attempts to create DynamoDB writer by loading the default AWS config and creating a new dynamodb client from the config. Also provides the table name of the table items should be written to
func (*DynamoDBClient) UpdateDestination ¶
func (writer *DynamoDBClient) UpdateDestination(destination string)
func (*DynamoDBClient) WriteRepoResults ¶
func (ddbc *DynamoDBClient) WriteRepoResults(results api_results.GHRepoWriteResults) error
func (*DynamoDBClient) WriteTokenResults ¶
func (ddbc *DynamoDBClient) WriteTokenResults(results models.TokenResults) error
Batch write the Token Results to the table name provided in the DynamoDBResultsWriter
Click to show internal directories.
Click to hide internal directories.