Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountInfo ¶
type MountInfo struct {
// contains filtered or unexported fields
}
MountInfo contains mounted disks information
type WorkStation ¶
type WorkStation interface { ListRemovableDisk() ([]*MountInfo, error) Unmount() error WriteToDisk(img string) (job *help.BackgroundJob, err error) CopyToDisk(img string) (job *help.BackgroundJob, err error) Eject() error CleanDisk(disk string) error PrintDisks() }
WorkStation is your computer's Operating System, which should perform specific actions
func NewWorkStation ¶
func NewWorkStation(disk string) WorkStation
NewWorkStation returns workstation depending on the OS
Click to show internal directories.
Click to hide internal directories.