dynamodb

package
v0.0.0-...-ff5a11b Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActualEmailEntity

type ActualEmailEntity struct {
	KeyBase
	Active bool `dynamodbav:"active"`
}

type ConcealEmailEntity

type ConcealEmailEntity struct {
	KeyBase
	Description *string `dynamodbav:"description"`
}

type ConcealEmailMapping

type ConcealEmailMapping struct {
	KeyBase
}

type DynamoDbGateway

type DynamoDbGateway struct{}

func (DynamoDbGateway) ActivateActualEmail

func (receiver DynamoDbGateway) ActivateActualEmail(actualEmail string) error

func (DynamoDbGateway) AddConcealedEmailToActualEmailMapping

func (receiver DynamoDbGateway) AddConcealedEmailToActualEmailMapping(concealPrefix string, actualEmail string, description *string) error

func (DynamoDbGateway) AddUnprovedActualEmail

func (receiver DynamoDbGateway) AddUnprovedActualEmail(actualEmail string, ownershipSecret string) error

func (DynamoDbGateway) DeleteConcealedEmailToActualEmailMapping

func (receiver DynamoDbGateway) DeleteConcealedEmailToActualEmailMapping(concealPrefix string) error

func (DynamoDbGateway) GetActualEmailDetails

func (receiver DynamoDbGateway) GetActualEmailDetails(actualEmail string) (string, bool, error)

func (DynamoDbGateway) GetActualEmailForSecret

func (receiver DynamoDbGateway) GetActualEmailForSecret(secret string) (*string, error)

func (DynamoDbGateway) GetRealEmailAddressForConcealPrefix

func (receiver DynamoDbGateway) GetRealEmailAddressForConcealPrefix(concealPrefix string) (string, *string, error)

func (DynamoDbGateway) Init

func (receiver DynamoDbGateway) Init()

func (DynamoDbGateway) UpdateConcealedEmail

func (receiver DynamoDbGateway) UpdateConcealedEmail(concealPrefix string, description *string) error

type KeyBase

type KeyBase struct {
	Primary   string `dynamodbav:"primary"`
	Secondary string `dynamodbav:"secondary"`
}

type SecretToActualEmailMapping

type SecretToActualEmailMapping struct {
	KeyBase
}

Jump to

Keyboard shortcuts

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