stream

package
v0.0.0-...-8e9eefd Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscriber

type Subscriber struct {
	ShardIteratorType dynamodbstreams.ShardIteratorType
	Limit             *int64
	// contains filtered or unexported fields
}

func NewStreamSubscriber

func NewStreamSubscriber(
	dynamoSvc *dynamodb.Client,
	streamSvc *dynamodbstreams.Client,
	table string,
) *Subscriber

func (*Subscriber) GetStreamData

func (r *Subscriber) GetStreamData() (<-chan dynamodbstreams.Record, <-chan error)

func (*Subscriber) GetStreamDataAsync

func (r *Subscriber) GetStreamDataAsync() (<-chan dynamodbstreams.Record, <-chan error)

Jump to

Keyboard shortcuts

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