emitter

package
v0.34.0-test1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTerminal

func IsTerminal(w io.Writer) bool

func NewFileFromPath

func NewFileFromPath(ctx context.Context, engine storage.Engine, path string, opts anyio.WriterOpts) (zio.WriteCloser, error)

func NewFileFromURI

func NewFileFromURI(ctx context.Context, engine storage.Engine, path *storage.URI, opts anyio.WriterOpts) (zio.WriteCloser, error)

Types

type Bytes

type Bytes struct {
	zio.Writer
	// contains filtered or unexported fields
}

func NewBytes

func NewBytes(opts anyio.WriterOpts) (*Bytes, error)

func (*Bytes) Bytes

func (b *Bytes) Bytes() []byte

type Split added in v1.0.0

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

func NewSplit added in v1.0.0

func NewSplit(ctx context.Context, engine storage.Engine, dir *storage.URI, prefix string, opts anyio.WriterOpts) (*Split, error)

func (*Split) Close added in v1.0.0

func (s *Split) Close() error

func (*Split) Write added in v1.0.0

func (s *Split) Write(r *zed.Value) error

Jump to

Keyboard shortcuts

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