stream

package
v0.0.0-...-1b68aa0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamSubscriber

type StreamSubscriber struct {
	ShardIteratorType *string
	Limit             *int64
	// contains filtered or unexported fields
}

func NewStreamSubscriber

func NewStreamSubscriber(
	dynamoSvc dynamodbiface.DynamoDBAPI,
	streamSvc dynamodbstreamsiface.DynamoDBStreamsAPI,
	table string) *StreamSubscriber

func (*StreamSubscriber) GetStreamData

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

func (*StreamSubscriber) GetStreamDataAsync

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

func (*StreamSubscriber) SetLimit

func (r *StreamSubscriber) SetLimit(v int64)

func (*StreamSubscriber) SetShardIteratorType

func (r *StreamSubscriber) SetShardIteratorType(s string)

Jump to

Keyboard shortcuts

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