printer

package
v0.0.0-...-bf6a7b8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

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

Printer watch for needReprint events and print all workers' statuses

func NewPrinter

func NewPrinter() *Printer

NewPrinter makes new printer object

func (*Printer) RegisterWatchers

func (p *Printer) RegisterWatchers(watchers []watcher.Interface)

RegisterWatchers gets watchers to print when needReprint is toggled

func (*Printer) Start

func (p *Printer) Start(needReprint chan bool)

Start watching for reprint event

Jump to

Keyboard shortcuts

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