Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTables ¶
func CreateTables(ctx context.Context, client *dynamodb.Client, pollsTable, votesTable string) error
CreateTables provisions the polls and poll_votes tables with on-demand billing (see store for their layout), and enables TTL on the polls table's expires_at, which discards unsent polls. 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.