output

package
v0.0.0-...-ce4e52c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileOut

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

func NewFileOut

func NewFileOut(filename string) *FileOut

func (*FileOut) Close

func (o *FileOut) Close() error

func (*FileOut) Write

func (o *FileOut) Write(r *prad.Result) error

type MultiOut

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

func NewMultiOut

func NewMultiOut(noColor bool, filename string) *MultiOut

func (*MultiOut) Close

func (o *MultiOut) Close() error

func (*MultiOut) Write

func (o *MultiOut) Write(r *prad.Result) error

type Stdout

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

func NewStdout

func NewStdout(noColor bool) *Stdout

func (*Stdout) Close

func (o *Stdout) Close() error

func (*Stdout) Write

func (o *Stdout) Write(r *prad.Result) error

Write output to stdout.

type Writer

type Writer interface {
	Write(r *prad.Result) error
	Close() error
}

Jump to

Keyboard shortcuts

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