textio

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func NewWriter

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

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) Write

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

type WriterOpts

type WriterOpts struct {
	ShowTypes  bool
	ShowFields bool
}

Jump to

Keyboard shortcuts

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