reflexstreamer

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(writer, reader *sql.DB, table *rsql.EventsTableInt, cursorStore reflex.CursorStore) workflow.EventStreamer

Types

type Consumer

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

func (Consumer) Close

func (c Consumer) Close() error

func (Consumer) Recv

type EventType

type EventType int

func (EventType) ReflexType

func (ev EventType) ReflexType() int

type Producer

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

func (Producer) Close

func (p Producer) Close() error

func (Producer) Send

func (p Producer) Send(ctx context.Context, recordID int64, statusType int, headers map[workflow.Header]string) error

Jump to

Keyboard shortcuts

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