Documentation ¶
Index ¶
- type Apron
- func (t *Apron) AddDevice(radio string)
- func (t *Apron) AddDeviceToGroup(id string, groudID string)
- func (t *Apron) AddGroup(name string)
- func (t *Apron) DeleteDevice(id string)
- func (t *Apron) DeleteDeviceFromGroup(id string, groudID string)
- func (t *Apron) DeleteGroup(id string)
- func (t *Apron) ListDevices() []ApronDeviceGroup
- func (t *Apron) ListGroupNodes(id string) []ApronDeviceGroup
- func (t *Apron) ListGroups() []ApronDeviceGroup
- func (t *Apron) UpdateDevice(id string, attr string, value string) bool
- func (t *Apron) UpdateDeviceName(id string, name string)
- func (t *Apron) UpdateGroup(id string, attr string, value string) bool
- type ApronDeviceGroup
- type BT
- type RGB
- type Sqlite3
- type Tail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apron ¶
Apron - Apron all the things!
func (*Apron) AddDeviceToGroup ¶
AddDeviceToGroup - Add a device to a group
func (*Apron) DeleteDevice ¶
DeleteDevice - Delete a device from the hub
func (*Apron) DeleteDeviceFromGroup ¶
DeleteDeviceFromGroup - Delete a device from a group
func (*Apron) DeleteGroup ¶
DeleteGroup - Delete a group from the hub
func (*Apron) ListDevices ¶
func (t *Apron) ListDevices() []ApronDeviceGroup
ListDevices - Gets a list of devices
func (*Apron) ListGroupNodes ¶
func (t *Apron) ListGroupNodes(id string) []ApronDeviceGroup
ListGroupNodes - Gets a list of nodes in a group
func (*Apron) ListGroups ¶
func (t *Apron) ListGroups() []ApronDeviceGroup
ListGroups - Gets a list of groups
func (*Apron) UpdateDevice ¶
UpdateDevice - Update a device on the hub
func (*Apron) UpdateDeviceName ¶
UpdateDeviceName - Update the name of a device
type ApronDeviceGroup ¶
type ApronDeviceGroup struct { ID int64 Name string Nodes []ApronDeviceGroup }
ApronDeviceGroup - A device/group listed in the Apron database
type BT ¶ added in v0.2.5
type BT struct { }
BT - BT all the things!
func (*BT) FindPerson ¶ added in v0.2.5
FindPerson - Find a device w/l2ping
Click to show internal directories.
Click to hide internal directories.