streamer

package
v0.0.0-...-8b28c19 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStreamer

type MockStreamer struct{}

func (MockStreamer) Push

func (streamer MockStreamer) Push(ctx context.Context, records []Record) error

type Record

type Record struct {
	AggregateID string `json:"id"`
	Type        string `json:"t"`
	Data        []byte `json:"d"`
}

type Streamer

type Streamer interface {
	Push(ctx context.Context, records []Record) error
}

Streamer -

func NewMockStreamer

func NewMockStreamer() (Streamer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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