console

package
v0.0.0-...-2c94dc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorComponent

func ErrorComponent(p Printer, component, message string)

func ErrorComponentf

func ErrorComponentf(p Printer, component, format string, args ...any)

func Errorf

func Errorf(p Printer, format string, args ...any)

func Errorln

func Errorln(p Printer, s string)

func InfoComponent

func InfoComponent(p Printer, component, message string)

func InfoComponentf

func InfoComponentf(p Printer, component, format string, args ...any)

func StatusComponent

func StatusComponent(p Printer, component, status string)

func StatusComponentf

func StatusComponentf(p Printer, component, format string, args ...any)

func WarningComponent

func WarningComponent(c *ishell.Context, component, message string)

func WarningComponentf

func WarningComponentf(c *ishell.Context, component, format string, args ...any)

func Warningf

func Warningf(p Printer, format string, args ...any)

func Warningln

func Warningln(p Printer, s string)

Types

type Printer

type Printer interface {
	Println(a ...any)
	Print(a ...any)
	Printf(format string, a ...any)
}

Jump to

Keyboard shortcuts

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