streaming

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package streaming contains the logic of converting the data stream coming from the data source into the data stream sent over the network to the client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Streamer

type Streamer[T paging.Acceptor] struct {
	// contains filtered or unexported fields
}

func NewStreamer

func NewStreamer[T paging.Acceptor](
	logger *zap.Logger,
	stream api_service.Connector_ReadSplitsServer,
	split *api_service_protos.TSplit,
	sink paging.Sink[T],
	dataSource datasource.DataSource[T],
) *Streamer[T]

func (*Streamer[T]) Run

func (s *Streamer[T]) Run() error

Jump to

Keyboard shortcuts

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