probe/ssdp/ssdp_test.go

16 lines
246 B
Go
Raw Normal View History

2018-08-24 05:41:07 +00:00
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