utils

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoStreamArn is returned when no stream ARN is found
	ErrNoStreamArn = errors.New("no stream ARN found")
)

Functions

func GetLastStreamArn

func GetLastStreamArn(ctx context.Context, db dynamodbiface.DynamoDBAPI, table string) (*string, error)

func GetShardId

func GetShardId(ctx context.Context, dbStreams dynamodbstreamsiface.DynamoDBStreamsAPI, previousShardId *string, streamArn *string) (*string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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