discovery

package
v0.0.0-...-2387267 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package discovery finds new sonos devices in the network to add them to the controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sonos

type Sonos struct {
	Address  net.IP `json:"address"`
	Friendly string `xml:"device>displayName" json:"friendly"`
}

Sonos represents the object the discovery service returns

func Discover

func Discover() ([]*Sonos, error)

Discover looks for new Devices on the local network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL