zsonio

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader added in v1.0.0

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

func NewReader added in v1.0.0

func NewReader(zctx *zed.Context, r io.Reader) *Reader

func (*Reader) Read added in v1.0.0

func (r *Reader) Read() (*zed.Value, error)

type Writer

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

func NewWriter

func NewWriter(w io.WriteCloser, opts WriterOpts) *Writer

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) Write

func (w *Writer) Write(rec zed.Value) error

type WriterOpts

type WriterOpts struct {
	ColorDisabled bool
	Pretty        int
	Persist       *regexp.Regexp
}

Jump to

Keyboard shortcuts

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