stream

package
v0.0.2-0...-4ce78c8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Available is true if the code is compiled in
	Available = false
)

Variables

View Source
var (
	// ErrPayloadFull is returned when the payload buffer is full
	ErrPayloadFull = errors.New("reached maximum payload size")

	// ErrItemTooBig is returned when a item alone exceeds maximum payload size
	ErrItemTooBig = errors.New("item alone exceeds maximum payload size")
)

Functions

This section is empty.

Types

type Compressor

type Compressor struct{}

Compressor is not implemented

func NewCompressor

func NewCompressor(input, output *bytes.Buffer, header, footer []byte, separator []byte) (*Compressor, error)

NewCompressor not implemented

func (*Compressor) AddItem

func (c *Compressor) AddItem(data []byte) error

AddItem not implemented

func (*Compressor) Close

func (c *Compressor) Close() ([]byte, error)

Close not implemented

Jump to

Keyboard shortcuts

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