journal

package
v0.0.0-...-7788d34 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 32 * 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type Dropper

type Dropper interface {
	Drop(err error)
}

type Reader

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

Reader reads journals from an underlying io.Reader.

func NewReader

func NewReader(r io.Reader, dropper Dropper, strict, checksum bool) *Reader

type Writer

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

func NewWriter

func NewWriter(w io.Writer) *Writer

Returns a new writer

func (*Writer) Next

func (w *Writer) Next() (io.Writer, error)

Jump to

Keyboard shortcuts

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