dynamodb

package
v0.0.0-...-f06fdba Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestLogger

type RequestLogger struct {
	// contains filtered or unexported fields
}

func NewInteractionLogger

func NewInteractionLogger(dynamoClient *dynamodb.DynamoDB, logger *zap.SugaredLogger, tableName string) *RequestLogger

func (*RequestLogger) GetInteractionsByUser

func (p *RequestLogger) GetInteractionsByUser(userID string, newerThan time.Time) []*alexa.Interaction

func (*RequestLogger) Log

func (p *RequestLogger) Log(interaction *alexa.Interaction)

Jump to

Keyboard shortcuts

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