Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
type Database interface { Insert(datautils.Resource) error Update(datautils.Resource) error Read(id string) (*datautils.Resource, error) }
Database is a generic connection to a database.
type DynamodbDatabase ¶
DynamodbDatabase Represents a connection to Dynamo
func (*DynamodbDatabase) Insert ¶
func (database *DynamodbDatabase) Insert(params datautils.Resource) error
Insert create a row in dynamodb
Click to show internal directories.
Click to hide internal directories.