Documentation
¶
Overview ¶
Package ssh provides simple SSH operations for SoundTouch speakers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client wraps an SSH client to perform operations on SoundTouch speakers.
func (*Client) ReadDir ¶
ReadDir downloads all regular files under remotePath, returning a map of absolute remote path → file content. Missing or unreadable files are skipped.
func (*Client) ReadFile ¶
ReadFile downloads the content of a file on the remote host. An empty file that causes cat to exit non-zero (a firmware quirk on some devices) is returned as empty bytes rather than an error.
Click to show internal directories.
Click to hide internal directories.