stream

package
v0.0.0-...-3003f12 Latest Latest
Warning

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

Go to latest
Published: May 5, 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 KinesisStream

type KinesisStream struct {
	StreamName string
	BatchCount int
	BatchSize  int
	RecordSize int
	MaxWait    time.Duration
	// contains filtered or unexported fields
}

func (*KinesisStream) Handle

func (s *KinesisStream) Handle(recieve chan pgx.WalMessage, ack chan uint64)

type StdoutStream

type StdoutStream struct{}

func (*StdoutStream) Handle

func (s *StdoutStream) Handle(recieve chan pgx.WalMessage, ack chan uint64)

type Stream

type Stream interface {
	Handle(recieve chan pgx.WalMessage, ack chan uint64)
}

Jump to

Keyboard shortcuts

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