Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMapFn ¶
func WithMapFn(mapFn func(map[string]types.AttributeValue) (interface{}, error)) func(options *Options)
Types ¶
type DynamodbClient ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(client DynamodbClient) *Executor
type Options ¶
type Options struct {
// MapFn is used to map all returned elements in the executor
MapFn func(map[string]types.AttributeValue) (interface{}, error)
// Lock if not nil Lock is refreshed after every call
// Note there are no guarantees that retrieved data is still locked by the lock
Lock Lock
}
Click to show internal directories.
Click to hide internal directories.