xmpp

package
v0.0.0-...-c875500 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: BSD-3-Clause Imports: 15 Imported by: 3

Documentation

Overview

Package xmpp is the Google Cloud Print XMPP interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrinterNotificationType

type PrinterNotificationType uint8

type XMPP

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

func NewXMPP

func NewXMPP(jid, proxyName, server string, port uint16, pingTimeout, pingInterval time.Duration, getAccessToken func() (string, error), notifications chan<- notification.PrinterNotification) (*XMPP, error)

func (*XMPP) Quit

func (x *XMPP) Quit()

Quit terminates the XMPP conversation so that new jobs stop arriving.

Jump to

Keyboard shortcuts

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