probe/ssdp/ssdp_test.go
2018-08-24 14:41:07 +09:00

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