keyvalue

package
v0.0.0-...-5cd5cfe Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttribPk = "_pk"
	AttribSk = "_sk"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoKeyValueService

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

DynamoKeyValueService - an AWS DynamoDB implementation of the Nitric Document Service

func New

New creates a new AWS DynamoDB implementation of a DocumentServiceServer

func NewWithClient

func NewWithClient(provider resource.AwsResourceProvider, client *dynamodb.Client) (*DynamoKeyValueService, error)

NewWithClient creates a DocumentServiceServer with an given DynamoDB client instance.

Primarily used for testing

func (*DynamoKeyValueService) DeleteKey

Delete a document from the DynamoDB table

func (*DynamoKeyValueService) GetValue

Get a document from the DynamoDB table

func (*DynamoKeyValueService) ScanKeys

func (*DynamoKeyValueService) SetValue

Set a document in the DynamoDB table

Jump to

Keyboard shortcuts

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