Documentation ¶
Overview ¶
Package viamupnp is for discovering and using upnp cameras
Index ¶
Constants ¶
View Source
const FindAllTestKey = FindAllTestKeyStruct("findAllTestKey1231231231231")
FindAllTestKey - for testing.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceQuery ¶
type DeviceQuery struct { ModelName string `json:"model_name"` Manufacturer string `json:"manufacturer"` SerialNumber string `json:"serial_number"` Network string `json:"network"` }
DeviceQuery specifics a query for a network device.
type UPNPDevice ¶
type UPNPDevice struct { Service ssdp.Service Desc *deviceDesc }
UPNPDevice is a UPNPDevice device.
func (*UPNPDevice) Matches ¶
func (pc *UPNPDevice) Matches(query DeviceQuery) bool
Matches returns if the UPNPDevice matches the query.
Click to show internal directories.
Click to hide internal directories.