hidproxy

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NamedPipePath = "\\\\.\\pipe\\ctaphid"

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command byte
const (
	CommandEnumerate Command = iota + 1
	CommandStart
)

type Message

type Message struct {
	Command Command

	Data []byte
	// contains filtered or unexported fields
}

func NewMessage

func NewMessage(cmd Command, data any) (Message, error)

func ParseMessage

func ParseMessage(pipe io.ReadWriteCloser) (Message, error)

func (*Message) WriteTo

func (m *Message) WriteTo(w io.Writer) (n int64, err error)

Jump to

Keyboard shortcuts

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