Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTables ¶
func CreateTables(ctx context.Context, client *dynamodb.Client, chatsTable, dmInboxTable string) error
CreateTables provisions the chats and dm_inbox tables with on-demand billing. The chats table is keyed by pk only; dm_inbox is keyed by (pk, sk) with a GSI ordering each user's DMs by last_activity. It is idempotent and blocks until both tables are ACTIVE.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.