stream

package
v0.0.0-...-bd45375 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Yury Kozyrev (urakozz) MIT License

Index

Constants

View Source
const SleepTime = 1 * time.Second

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 *dynamodb.DynamoDB, streamSvc *dynamodbstreams.DynamoDBStreams, 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