mirror of https://github.com/qwc/backive.git
15 lines
344 B
Go
15 lines
344 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"`
|
|
}
|
|
|
|
func (d Device) Mount() {
|
|
}
|
|
|
|
func (d Device) Unmount() {
|
|
}
|