Documentation ¶
Index ¶
- Constants
- func DiscoverRunner(ctx context.Context) error
- func NewRootCommand() *cobra.Command
- type HomieBridge
- func (b *HomieBridge) HandleBrokerAction(nodeID, propertyID, value string) error
- func (b *HomieBridge) OnMuteChange(id string, muted bool, channel string)
- func (b *HomieBridge) OnPowerStateChange(id, state string)
- func (b *HomieBridge) OnVolumeChange(id string, volume int, channel string)
- func (b *HomieBridge) PublishHomieDefinitions(ctx context.Context) error
- func (b *HomieBridge) Run(ctx context.Context) error
- type HomieBridgeRunner
- type RunnerFunc
Constants ¶
View Source
const DeviceType = `urn:schemas-upnp-org:device:MediaRenderer:1`
Variables ¶
This section is empty.
Functions ¶
func DiscoverRunner ¶
func NewRootCommand ¶
Types ¶
type HomieBridge ¶
func (*HomieBridge) HandleBrokerAction ¶
func (b *HomieBridge) HandleBrokerAction(nodeID, propertyID, value string) error
func (*HomieBridge) OnMuteChange ¶
func (b *HomieBridge) OnMuteChange(id string, muted bool, channel string)
func (*HomieBridge) OnPowerStateChange ¶
func (b *HomieBridge) OnPowerStateChange(id, state string)
func (*HomieBridge) OnVolumeChange ¶
func (b *HomieBridge) OnVolumeChange(id string, volume int, channel string)
func (*HomieBridge) PublishHomieDefinitions ¶
func (b *HomieBridge) PublishHomieDefinitions(ctx context.Context) error
type HomieBridgeRunner ¶
type HomieBridgeRunner struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.