Documentation
¶
Overview ¶
Package dynamodb implements the messaging.Store interface on top of DynamoDB.
Each account is a bin (partition); each message is one item within it:
pk = "<account>" sk = "<message-id>" message = <bytes>
Insert is a conditional Put (so a duplicate message ID in the bin fails), Delete is an idempotent DeleteItem, and Get is a single Query over the bin's partition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTables ¶
CreateTables provisions the messaging table with on-demand billing, keyed by (pk, sk) with no secondary indexes. It is idempotent: a table that already exists is left as-is. The call blocks until the table is ACTIVE.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.