stream

package
v0.0.0-...-dd9c311 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Yury Kozyrev (urakozz) MIT License

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
	KeepOrder         *bool
	// 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) SetKeepOrder

func (r *StreamSubscriber) SetKeepOrder(b bool)

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