mirror of https://github.com/qwc/backive.git
17 lines
406 B
Go
17 lines
406 B
Go
package core
|
|
|
|
// Device represents a device, with a name easy to remember and the UUID to identify it, optionally an owner.
|
|
type Device struct {
|
|
Name string `mapstructure:",omitempty"`
|
|
UUID string `mapstructure:"uuid"`
|
|
OwnerUser string `mapstructure:"owner,omitempty"`
|
|
}
|
|
|
|
// Mount will mount a device
|
|
func (d Device) Mount() {
|
|
}
|
|
|
|
// Unmount will unmount a device
|
|
func (d Device) Unmount() {
|
|
}
|