usb

package
v1.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 9 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