proxy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Proxy)

func WithLogger

func WithLogger(logger *slog.Logger) Option

type Proxy

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

func New

func New(opts ...Option) *Proxy

func (*Proxy) Enumerate

func (p *Proxy) Enumerate() ([]*hid.DeviceInfo, error)

func (*Proxy) Proxy

func (p *Proxy) Proxy(conn net.Conn, requestedPath string)

Jump to

Keyboard shortcuts

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