Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUsersReader ¶
func NewUsersReader(idm entity.IDManager, client DynamoDBClient, mapper AttributeValueMapper) entity.UsersReader
func NewUsersWriter ¶
func NewUsersWriter(idm entity.IDManager, client DynamoDBClient, mapper AttributeValueMapper) entity.UsersWriter
Types ¶
type AttributeValueMapper ¶
type AttributeValueMapper interface {
MarshalMap(in interface{}) (map[string]*dynamodb.AttributeValue, error)
UnmarshalMap(m map[string]*dynamodb.AttributeValue, out interface{}) error
}
* AttributeValueMapper *
type DynamoDBClient ¶
type DynamoDBClient interface {
GetItem(input dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
PutItem(input dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
DeleteItem(input dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
Query(input dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
Scan(input dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
}
* DynamoDBClient *
type DynamoDBCredentials ¶
* DynamoDB Credentials *
Click to show internal directories.
Click to hide internal directories.