Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge exposes Services to HomeKit.
func NewBridge ¶
func NewBridge(cfg config.Config, mgr *service.Manager, services ...service.Service) (*Bridge, error)
NewBridge creates a new Bridge that uses the service.Manager to control the given services. A nil Bridge and error can be returned if initializing the underlying hc.Transport fails.
Click to show internal directories.
Click to hide internal directories.