usb

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package usb provides printing for Sales & Dungeons via USB. The printer commands will be written directly to a endpoint of a USB device.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USB

type USB struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*USB) AvailableEndpoints

func (c *USB) AvailableEndpoints() (map[string]string, error)

func (*USB) Description

func (c *USB) Description() string

func (*USB) Name

func (c *USB) Name() string

func (*USB) Print

func (c *USB) Print(printerEndpoint string, image image.Image, data []byte) error

Jump to

Keyboard shortcuts

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