builtin

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL