2021-10-12 23:00:24 +02:00
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2021-10-27 23:17:18 +02:00
|
|
|
// Mount will mount a device
|
2021-10-12 23:00:24 +02:00
|
|
|
func (d Device) Mount() {
|
|
|
|
}
|
|
|
|
|
2021-10-27 23:17:18 +02:00
|
|
|
// Unmount will unmount a device
|
2021-10-12 23:00:24 +02:00
|
|
|
func (d Device) Unmount() {
|
|
|
|
}
|