Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCtrlUrl ¶
Types ¶
type Upnp ¶
type Upnp struct { LocalHost string `json:"local_host"` GatewayName string `json:"gateway_name"` //网关名称 GatewayHost string `json:"gateway_host"` //网关ip和端口 DeviceDescUrl string `json:"device_desc_url"` //设备描述url CtrlUrl string `json:"ctrl_url"` //控制请求url }
func (*Upnp) AddPortMapping ¶
//添加一个端口映射
Click to show internal directories.
Click to hide internal directories.