Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicServer ¶
type DynamicServer struct {
Pin string
SetupId string
Bridge *accessory.Bridge
DebounceDuration time.Duration
OnSetup func(s *hap.Server)
// contains filtered or unexported fields
}
func NewDynamicServer ¶
func NewDynamicServer(s hap.Store, bridge *accessory.Bridge) *DynamicServer
func (*DynamicServer) SetAccessories ¶
func (s *DynamicServer) SetAccessories(as []*accessory.A)
SetAccessories restarts the server with new accessories
func (*DynamicServer) SetupUri ¶
func (s *DynamicServer) SetupUri() string
Click to show internal directories.
Click to hide internal directories.