Documentation ¶
Overview ¶
Package aws provides AWS implementation of data interfaces.
AWS Go SDK: https://github.com/aws/aws-sdk-go Go SDK API Ref: https://docs.aws.amazon.com/sdk-for-go/api/service/dynamodb/ Dev Guide: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html REST API Ref: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDB ¶
type DynamoDB struct { DB *dynamodb.DynamoDB Tables []string Config *aws.Config Session *session.Session }
DynamoDB implementation for DB interface.
func NewDynamoDB ¶
NewDynamoDB creates a new AWS DynamoDB instance. region = Optional region setting. Will overwrite AWS_REGION env var if available. endpoint = Optional endpoint URL setting. Useful for specifying local/development service URL.
func (*DynamoDB) GetByEmail ¶
GetByEmail retrieves a user by e-mail with OK indicator.