Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_DYNAMO_HOST = "localhost" DEFAULT_DYNAMO_PORT = "8009" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDBClient ¶
type DynamoDBClient struct {
// contains filtered or unexported fields
}
func NewDynamoDBClient ¶
func NewDynamoDBClient(ctx context.Context, table string) (*DynamoDBClient, error)
func (*DynamoDBClient) ListItems ¶
func (c *DynamoDBClient) ListItems(ctx context.Context) ([]string, error)
func (*DynamoDBClient) PutItem ¶
func (c *DynamoDBClient) PutItem(item map[string]types.AttributeValue) error
Click to show internal directories.
Click to hide internal directories.