dynamodb

package
v0.0.0-...-ae8e89f Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventIdStartValue = int64(1)
	EventIdDeleted    = int64(0)
)

Variables

View Source
var Module = fx.Options(
	fx.Provide(fx.Annotated{
		Name:   "metastorage/dynamodb",
		Target: NewFactory,
	}),
)

Functions

func NewFactory

func NewFactory(params Params) internal.MetaStorageFactory

func NewMetaStorage

func NewMetaStorage(params Params) (internal.Result, error)

Types

type DynamoAPI

type DynamoAPI = dynamodbiface.DynamoDBAPI

DynamoAPI For mock generation for testing purpose

type Params

type Params struct {
	fx.In
	fxparams.Params
	Session *session.Session
}

type QueryItemsRequest

type QueryItemsRequest struct {
	ExclusiveStartKey         map[string]*dynamodb.AttributeValue
	KeyConditionExpression    *string
	ExpressionAttributeNames  map[string]*string
	ExpressionAttributeValues map[string]*dynamodb.AttributeValue
	IndexName                 string
	ConsistentRead            bool
}

type StringMap

type StringMap map[string]interface{}

Directories

Path Synopsis
Package dynamodbmocks is a generated GoMock package.
Package dynamodbmocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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