package
0.0.0-20200615175622-62f8b51b6c13
Repository: https://github.com/kyani-inc/storage.git
Documentation: pkg.go.dev
# README
DynamoDB Storage provider
This is a simple abstraction layer between Amazon's DynamoDB and our local storage interface.
Configuration
To run the tests, create a .env file in the dynamodb directory with the following vars:
AWS_ACCESS=my-access-id
AWS_SECRET=my-access-secret
AWS_REGION=us-east-1
DYNAMO_DB_TABLE=my_test_table
Running Local
Amazon provides a convenient java executable for running a mock DynamoDB server locally. Read all about it here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html.
# Functions
New creates an instance of the DynamoDB struct for us.