Documentation ¶
Overview ¶
Package pc implements upon generic SSH-server with ability to exec like Linux, macOS, etc.
Index ¶
- func NewDevice(connector streamer.Connector) device.Device
- type Device
- func (m *Device) Close()
- func (m *Device) Connect(ctx context.Context) error
- func (m *Device) Download(paths []string) (map[string]streamer.File, error)
- func (m *Device) Execute(command gcmd.Cmd) (gcmd.CmdRes, error)
- func (m *Device) GetAux() map[string]any
- func (m *Device) Upload(paths map[string]streamer.File) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.