split

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(merger *Merger, body []byte, format string) (combined []byte, completed bool, err error)

Types

type Merger

type Merger struct {
	// contains filtered or unexported fields
}

func NewMerger

func NewMerger() *Merger

func (*Merger) AddChunk

func (m *Merger) AddChunk(chunk *data.HTTPBodyChunk)

func (*Merger) DeleteChunk added in v0.1.1

func (m *Merger) DeleteChunk(requestId string)

func (*Merger) GetCombinedData

func (m *Merger) GetCombinedData(chunk *data.HTTPBodyChunk) []byte

func (*Merger) IsComplete

func (m *Merger) IsComplete(chunk *data.HTTPBodyChunk) bool

Jump to

Keyboard shortcuts

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