Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Privet ¶
type Privet struct {
// contains filtered or unexported fields
}
Privet managers local discovery and printing.
func NewPrivet ¶
func NewPrivet(jobs chan<- *lib.Job, gcpBaseURL string, getProximityToken func(string, string) ([]byte, int, error)) (*Privet, error)
NewPrivet constructs a new Privet object.
getProximityToken should be GoogleCloudPrint.ProximityToken()
func (*Privet) AddPrinter ¶
AddPrinter makes a printer available locally.
func (*Privet) DeletePrinter ¶
DeletePrinter removes a printer from Privet.
func (*Privet) UpdatePrinter ¶
func (p *Privet) UpdatePrinter(diff *lib.PrinterDiff) error
UpdatePrinter updates a printer's TXT mDNS record.
Click to show internal directories.
Click to hide internal directories.