Documentation ¶
Index ¶
- type DAO
- func (d *DAO) ExportFile(f string) error
- func (d *DAO) ExportWriter(w io.Writer) error
- func (d *DAO) GetAllDevices() ([]model.Device, error)
- func (d *DAO) GetDeviceByID(id uint64) (model.Device, bool, error)
- func (d *DAO) ImportDevices(ms []model.Device) error
- func (d *DAO) ImportFile(f string) error
- func (d *DAO) ImportReader(r io.Reader) error
- func (d *DAO) UpsertDevice(m model.Device) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO struct {
// contains filtered or unexported fields
}
func (*DAO) ExportFile ¶
func (*DAO) ImportFile ¶
Click to show internal directories.
Click to hide internal directories.