chunker

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunk

type Chunk struct {
	Start *StartChunk
	Data  *DataChunk
	End   *EndChunk
}

type Chunker

type Chunker interface {
	GenerateChunks(ctx context.Context, parseResult chan parser.StreamResult) chan Chunk
}

type DataChunk

type DataChunk struct {
	FilePath string
	Data     string
}

type EndChunk

type EndChunk struct {
	FilePath string
	Error    error
}

type StartChunk

type StartChunk struct {
	FilePath string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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