dynamodb

package
v0.0.0-...-96c8be2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Indifferent ConsistencyType = iota
	Required
	Preferred

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

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)

Jump to

Keyboard shortcuts

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