dynamodbdriver

package
v0.0.0-...-888c057 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 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 {
	TableName string
	dynamodbiface.DynamoDBAPI
}

DynamoDB setting.

func New

func New(p client.ConfigProvider, tableName string) *DynamoDB

New DynamoDB.

func (*DynamoDB) Get

func (d *DynamoDB) Get(key string, out interface{}) error

Get is get from table.

func (*DynamoDB) Put

func (d *DynamoDB) Put(in interface{}) error

Put put to table.

func (*DynamoDB) ScanAll

func (d *DynamoDB) ScanAll(out interface{}) error

ScanAll get all table data.

Jump to

Keyboard shortcuts

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