chunker

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunker

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

func NewChunker

func NewChunker(chunkSize int, logEntry *core.Log) (*Chunker, error)

func (*Chunker) ChunkLogs

func (c *Chunker) ChunkLogs() ([][]byte, error)

ChunkLogs splits a large log into smaller chunks that fit within the specified max chunk size. It uses a recursive divide-and-conquer approach.

Jump to

Keyboard shortcuts

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