Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevicePaired ¶
type DevicePaired struct{}
DevicePaired is emitted when transport paired with a device (e.g. iOS client successfully paired with the accessory)
type DeviceUnpaired ¶
type DeviceUnpaired struct{}
DeviceUnpaired is emitted when pairing with a device is removed (e.g. iOS client removed the accessory from HomeKit)
type Emitter ¶
type Emitter interface {
// Emit emits the event to all listeners
Emit(ev interface{})
// AddListener adds a listener to the event stream
AddListener(l EventListener)
}
Emitter emits events to listeners
type EventListener ¶
type EventListener interface {
Handle(e interface{})
}
EventListener handles events
Click to show internal directories.
Click to hide internal directories.