dynamo

package
v0.0.0-...-691f4a8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

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