writers

package
v4.49.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgType

type MsgType int
const (
	MsgTypeUnset MsgType = iota
	MsgTypeMigrateTable
	MsgTypeInsert
	MsgTypeDeleteStale
	MsgTypeDeleteRecord
)

func MsgID

func MsgID(msg message.WriteMessage) MsgType

type Ticker

type Ticker interface {
	Stop()
	Reset(d time.Duration)
	Chan() <-chan time.Time
}

func NewTicker

func NewTicker(interval time.Duration) Ticker

type TickerFunc

type TickerFunc func(time.Duration) Ticker

type Writer

type Writer interface {
	Write(ctx context.Context, res <-chan message.WriteMessage) error
}

Directories

Path Synopsis
Package streamingbatchwriter provides a writers.Writer implementation that writes to a client that implements the streamingbatchwriter.Client interface.
Package streamingbatchwriter provides a writers.Writer implementation that writes to a client that implements the streamingbatchwriter.Client interface.

Jump to

Keyboard shortcuts

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