stdout

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Target

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

Target implements stream.Target by printing JSON to stdout.

func New

func New(name string, enabled bool) *Target

New creates a new stdout stream target.

func (*Target) Close

func (t *Target) Close() error

func (*Target) Enabled

func (t *Target) Enabled() bool

func (*Target) Name

func (t *Target) Name() string

func (*Target) Send

func (t *Target) Send(_ context.Context, items []corestream.StreamItem) error

func (*Target) Type

func (t *Target) Type() string

Jump to

Keyboard shortcuts

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