streams

package
v0.0.0-...-0384855 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToFile

func ToFile(path string) (io.Writer, func() error, error)

Types

type IO

type IO struct {
	In     io.Reader
	Out    io.Writer
	ErrOut io.Writer

	OutFlags output.Opts
	Closer   func() error
}

func (*IO) ErrOutToFile

func (s *IO) ErrOutToFile(path string) (io.Writer, error)

func (*IO) OutToFile

func (s *IO) OutToFile(path string) (io.Writer, error)

func (*IO) Print

func (p *IO) Print(o interface{}) error

func (*IO) ToFile

func (s *IO) ToFile(path string) (io.Writer, error)

type ScrubSecrets

type ScrubSecrets interface {
	ScrubSecrets() interface{}
}

Jump to

Keyboard shortcuts

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