anlchunker

package
v0.0.0-...-e7a70b0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, MIT Imports: 1 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
}

type Chunker

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

type Initializer

type Initializer func(
	chunkerCLISubArgs []string,
) (
	instance Chunker,
	constants InstanceConstants,
	initErrorStrings []error,
)

type InstanceConstants

type InstanceConstants struct {
	MinChunkSize int
	MaxChunkSize int
	// contains filtered or unexported fields
}

type SplitResultCallback

type SplitResultCallback func(
	singleChunkingResult Chunk,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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