manager

package
v0.0.0-...-8a9cd57 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrinterManager

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

Manages all interactions between CUPS and Google Cloud Print.

func NewPrinterManager

func NewPrinterManager(cups *cups.CUPS, gcp *gcp.GoogleCloudPrint, privet *privet.Privet, snmp *snmp.SNMPManager, printerPollInterval string, cupsQueueSize uint, jobFullUsername, ignoreRawPrinters bool, shareScope string, jobs <-chan *lib.Job, xmppNotifications <-chan xmpp.PrinterNotification) (*PrinterManager, error)

func (*PrinterManager) GetJobStats

func (pm *PrinterManager) GetJobStats() (uint, uint, uint, error)

GetJobStats returns information that is useful for monitoring the connector.

func (*PrinterManager) Quit

func (pm *PrinterManager) Quit()

Jump to

Keyboard shortcuts

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