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 time.Duration, 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()
Click to show internal directories.
Click to hide internal directories.