16 lines
246 B
Go
16 lines
246 B
Go
package ssdp
|
|
|
|
import "testing"
|
|
|
|
func TestSSDP(t *testing.T) {
|
|
devices, err := SearchRootDevices()
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
for _, device := range devices {
|
|
t.Log(device)
|
|
}
|
|
}
|
|
|
|
// http://192.168.1.254:44517/etc/linuxigd/gatedesc.xml
|