backive/core/device.go

15 lines
344 B
Go
Raw Normal View History

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"`
}
func (d Device) Mount() {
}
func (d Device) Unmount() {
}