Documentation ¶ Index ¶ Constants type DB func NewDB(db *bolt.DB) (*DB, error) func (db *DB) Delete(udid string) error func (db *DB) DeviceBySerial(serial string) (*device.Device, error) func (db *DB) DeviceByUDID(udid string) (*device.Device, error) func (db *DB) List(opt device.ListDevicesOption) ([]device.Device, error) func (db *DB) Save(dev *device.Device) error Constants ¶ View Source const ( DeviceBucket = "mdm.Devices" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { *bolt.DB } func NewDB ¶ func NewDB(db *bolt.DB) (*DB, error) func (*DB) Delete ¶ added in v1.3.1 func (db *DB) Delete(udid string) error func (*DB) DeviceBySerial ¶ func (db *DB) DeviceBySerial(serial string) (*device.Device, error) func (*DB) DeviceByUDID ¶ func (db *DB) DeviceByUDID(udid string) (*device.Device, error) func (*DB) List ¶ func (db *DB) List(opt device.ListDevicesOption) ([]device.Device, error) func (*DB) Save ¶ func (db *DB) Save(dev *device.Device) error Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.