Help us shape the future of Go! Take the 2026 Go Developer Survey

stream_utils

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStreamReader

func NewStreamReader(stream interface{}) io.Reader

NewStreamReader creates a new streamReader instance.

The stream is meant to be a gRPC stream of either *api.DataChunk or *api.ContributeResponse.

func NewStreamWriter

func NewStreamWriter(stream interface{}) io.Writer

NewStreamWriter creates a new streamWriter instance.

The stream is meant to be a gRPC stream of either *api.DataChunk or *api.ContributeResponse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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