stream

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

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

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX = "340282366920938463463374607431768211456"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

type Emitter struct {
	// contains filtered or unexported fields
}

Emitter ...

awsSession AWS session client Kinesis client

func New

func New(region string) (*Emitter, error)

New ...

Creates an instance of Emitter that can be reused

func (*Emitter) PutRecord

func (e *Emitter) PutRecord(record []byte, stream string) (*kinesis.PutRecordOutput, error)

PutRecord ...

Puts a record into the specified stream and returns and error

Jump to

Keyboard shortcuts

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