Documentation ¶
Index ¶
- type Postgres
- func (d *Postgres) DeleteBySerial(ctx context.Context, serial string) error
- func (d *Postgres) DeleteByUDID(ctx context.Context, udid string) error
- func (d *Postgres) DeviceBySerial(ctx context.Context, serial string) (*device.Device, error)
- func (d *Postgres) DeviceByUDID(ctx context.Context, udid string) (*device.Device, error)
- func (d *Postgres) ListDevices(ctx context.Context, opt device.ListDevicesOption) ([]device.Device, error)
- func (d *Postgres) Save(ctx context.Context, device *device.Device) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
func (*Postgres) DeleteBySerial ¶
func (*Postgres) DeleteByUDID ¶
func (*Postgres) DeviceBySerial ¶
func (*Postgres) DeviceByUDID ¶
func (*Postgres) ListDevices ¶
Click to show internal directories.
Click to hide internal directories.