Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoReader ¶
type DynamoReader struct {
// contains filtered or unexported fields
}
reader of objects to dynamo
func NewDynamoReader ¶
func NewDynamoReader(tableName string) *DynamoReader
NewDynamoReader returns a new, default value DynamoReader
func (*DynamoReader) GetByID ¶
func (dr *DynamoReader) GetByID(id string, sort string) (*dynamodb.GetItemOutput, error)
type DynamoWriter ¶
type DynamoWriter struct {
// contains filtered or unexported fields
}
DynamoWriter is a single objective writer of objects to dynamo
func NewDynamoWriter ¶
func NewDynamoWriter(tableName string) *DynamoWriter
NewDynamoWriter returns a new, default value DynamoWriter
func (*DynamoWriter) Delete ¶
func (d *DynamoWriter) Delete(entity interface{}) error
Delete removes the item from the given table
func (*DynamoWriter) Write ¶
func (d *DynamoWriter) Write(entity interface{}) error
func (*DynamoWriter) WriteJson ¶
func (d *DynamoWriter) WriteJson(entity interface{}) error
Click to show internal directories.
Click to hide internal directories.