buffer

package
v0.0.0-...-7c31ad9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SectionReader

func SectionReader(
	ctx context.Context,
	wareID api.WareID,
	reader io.Reader,
	monitor rio.Monitor,
) (*io.SectionReader, io.Closer, error)

SectionReader buffers a ware to a locally seekable instance. Some forms of transmat (zip) need to know the length and seek through packed data. This buffer bridges the gap between that need at the `io.ReadCloser` supported by `warehouse.BlobstoreController`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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