dynamodb

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTables

func CreateTables(ctx context.Context, client *dynamodb.Client, badgesTable string) error

CreateTables provisions the badges table: one item per user keyed by pk = "user#<id>", with on-demand billing and no secondary indexes. It is idempotent (an existing table is left as-is) and blocks until the table is ACTIVE.

func NewInDynamoDB

func NewInDynamoDB(client *dynamodb.Client, table string) badge.Store

NewInDynamoDB returns a badge.Store backed by the given DynamoDB table. Use CreateTables to provision it.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL