printer

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const InputName = "input"

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	modules.BaseModule
	// contains filtered or unexported fields
}

Printer - the structure which is responsible for print received messages

func NewPrinter

func NewPrinter() Printer

NewPrinter - constructor of printer structure

func (*Printer) Close

func (printer *Printer) Close() error

Close - gracefully stops module

func (*Printer) Start

func (printer *Printer) Start(ctx context.Context)

Start - starts module

Jump to

Keyboard shortcuts

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