Help us shape the future of Go! Take the 2026 Go Developer Survey

file

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	outputs.BaseOutput
	// contains filtered or unexported fields
}

File //

func (*File) Close

func (f *File) Close() error

Close //

func (*File) Init

func (f *File) Init(ctx context.Context, name string, cfg map[string]any, opts ...outputs.Option) error

Init //

func (*File) String

func (f *File) String() string

func (*File) Update added in v0.43.0

func (f *File) Update(ctx context.Context, cfgMap map[string]any) error

func (*File) UpdateProcessor added in v0.43.0

func (f *File) UpdateProcessor(name string, pcfg map[string]any) error

func (*File) Validate added in v0.43.0

func (f *File) Validate(cfg map[string]any) error

func (*File) Write

func (f *File) Write(ctx context.Context, rsp proto.Message, meta outputs.Meta)

Write //

func (*File) WriteEvent

func (f *File) WriteEvent(ctx context.Context, ev *formatters.EventMsg)

Jump to

Keyboard shortcuts

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