output

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleOutput

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

func NewConsoleOutput

func NewConsoleOutput(w io.Writer) *ConsoleOutput

func (*ConsoleOutput) Write

func (o *ConsoleOutput) Write(result map[string]interface{}, errs map[string]error) error

type Output

type Output interface {
	Write(map[string]interface{}, map[string]error) error
}

func GetOutput

func GetOutput(o OutputKey, w io.Writer) Output

type OutputKey

type OutputKey int
const (
	Console OutputKey = iota + 1
)

Jump to

Keyboard shortcuts

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