chunker

package
v0.0.0-...-e845e7c Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0, MIT Imports: 0 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 {
	Size int
	Meta ChunkMeta
}

type ChunkMeta

type ChunkMeta map[string]interface{}

func (ChunkMeta) Bool

func (cm ChunkMeta) Bool(name string) bool

type Chunker

type Chunker interface {
	Split(
		rawDataBuffer []byte,
		useEntireBuffer bool,
		resultCallback SplitResultCallback,
	) error
}

type SplitResultCallback

type SplitResultCallback func(
	singleChunkingResult Chunk,
) error

Jump to

Keyboard shortcuts

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