dynamo

package
v0.0.0-...-33899d9 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dynamo

type Dynamo struct {
	*dynamodb.DynamoDB
}

Dynamo is a Datastore wrapper around a dynamoDB.

func NewDynamo

func NewDynamo() (*Dynamo, error)

NewDynamo returns a dynamoDB client to be used.

func (*Dynamo) DeleteUserData

func (dynamo *Dynamo) DeleteUserData(clientID string, ttl int64) error

DeleteUserData uses clientID to query all items under this clientID and set ttl for them.

Jump to

Keyboard shortcuts

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