io

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResponsePrinter

type JsonResponsePrinter struct {
	Target io.Writer
}

func (JsonResponsePrinter) Print

func (j JsonResponsePrinter) Print(question, answer string)

type MultiResponsePrinter

type MultiResponsePrinter struct {
	Printers []ResponsePrinter
}

func (MultiResponsePrinter) Print

func (m MultiResponsePrinter) Print(question, answer string)

type NoOpResponsePrinter

type NoOpResponsePrinter struct{}

func (NoOpResponsePrinter) Print

func (NoOpResponsePrinter) Print(question, answer string)

type PlainResponsePrinter

type PlainResponsePrinter struct {
	Target io.Writer
}

func (PlainResponsePrinter) Print

func (p PlainResponsePrinter) Print(question, answer string)

type ResponsePrinter

type ResponsePrinter interface {
	Print(question, answer string)
}

Jump to

Keyboard shortcuts

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