MCPcopy
hub / github.com/pterm/pterm / LivePrinter

Interface LivePrinter

interface_live_printer.go:6–18  ·  view source on GitHub ↗

LivePrinter is a printer which can update it's output live.

Source from the content-addressed store, hash-verified

4
5// LivePrinter is a printer which can update it's output live.
6type LivePrinter interface {
7 // GenericStart runs Start, but returns a LivePrinter.
8 // This is used for the interface LivePrinter.
9 // You most likely want to use Start instead of this in your program.
10 GenericStart() (*LivePrinter, error)
11
12 // GenericStop runs Stop, but returns a LivePrinter.
13 // This is used for the interface LivePrinter.
14 // You most likely want to use Stop instead of this in your program.
15 GenericStop() (*LivePrinter, error)
16
17 SetWriter(writer io.Writer)
18}

Callers 8

GenericStartMethod · 0.85
GenericStopMethod · 0.85
GenericStartMethod · 0.85
GenericStopMethod · 0.85
GenericStartMethod · 0.85
GenericStopMethod · 0.85
GenericStartMethod · 0.85
GenericStopMethod · 0.85

Implementers 4

SpinnerPrinterspinner_printer.go
AreaPrinterarea_printer.go
MultiPrintermulti_live_printer.go
ProgressbarPrinterprogressbar_printer.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…