pc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDevice

func NewDevice(connector streamer.Connector) device.Device

Types

type Device

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

func (*Device) Close

func (m *Device) Close()

func (*Device) Connect

func (m *Device) Connect(ctx context.Context) error

func (*Device) Download

func (m *Device) Download(paths []string) (map[string]streamer.File, error)

func (*Device) Execute

func (m *Device) Execute(command gcmd.Cmd) (gcmd.CmdRes, error)

func (*Device) GetAux

func (m *Device) GetAux() map[string]any

func (*Device) Upload

func (m *Device) Upload(paths map[string]streamer.File) error

Jump to

Keyboard shortcuts

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