dynamodb

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDb

type DynamoDb struct {
	// contains filtered or unexported fields
}

func NewDynamoDb

func NewDynamoDb(sess *session.Session, tableName string, key nosql.PrimaryKey) DynamoDb

func (DynamoDb) Clear

func (d DynamoDb) Clear() error

func (DynamoDb) Exists

func (d DynamoDb) Exists(k nosql.PrimaryKey) (bool, error)

func (DynamoDb) Get

func (d DynamoDb) Get(k nosql.PrimaryKey, doc interface{}) error

func (DynamoDb) List

func (d DynamoDb) List() ([]nosql.PrimaryKey, error)

func (DynamoDb) Remove

func (d DynamoDb) Remove(k nosql.PrimaryKey) error

func (DynamoDb) Set

func (d DynamoDb) Set(doc nosql.Document) error

Jump to

Keyboard shortcuts

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