dynamodb

package
v0.0.0-...-8f66fda Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Indifferent ConsistencyType = iota
	Required
	Preferred

	SymbolChars                    = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`"
	ValueSeparatorCharDefault      = ':'
	QueryWildcardCharDefault  byte = 0
)
View Source
const (
	NextPageToken = "NextPageToken"
)

Variables

This section is empty.

Functions

func Store

func Store(tableName string, config *Configuration, persistables ...data.Persistable) (store data.Store, ge gomerr.Gomerr)

func Stores

func Stores() map[string]data.Store

Types

type Configuration

type Configuration struct {
	DynamoDb               dynamodbiface.DynamoDBAPI
	MaxResultsDefault      int64
	MaxResultsMax          int64
	ConsistencyDefault     ConsistencyType
	ValueSeparatorChar     byte
	QueryWildcardChar      byte
	NextTokenCipher        crypto.Cipher
	FailDeleteIfNotPresent bool
}

type ConsistencyType

type ConsistencyType int

type ConsistencyTyper

type ConsistencyTyper interface {
	ConsistencyType() ConsistencyType
	SetConsistencyType(consistencyType ConsistencyType)
}

type ItemResolver

type ItemResolver func(interface{}) (interface{}, gomerr.Gomerr)

type UniqueConstraint

type UniqueConstraint struct {
	constraint.Constraint
}

Jump to

Keyboard shortcuts

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