Documentation ¶ Index ¶ type ChangePortRequest type DeviceInfo type Result type Route Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ChangePortRequest ¶ type ChangePortRequest struct { Port string `json:"port" binding:"required"` } type DeviceInfo ¶ added in v0.4.8 type DeviceInfo struct { LanIpv4 []string `json:"lan_ipv4"` Port int `json:"port"` DeviceName string `json:"device_name"` DeviceModel string `json:"device_model"` Initialized bool `json:"initialized"` OS_Version string `json:"os_version"` Hash string `json:"hash"` } type Result ¶ type Result struct { Success int `json:"success" example:"200"` Message string `json:"message" example:"ok"` Data interface{} `json:"data" example:"返回结果"` } type Route ¶ type Route struct { Path string `json:"path" binding:"required"` Target string `json:"target" binding:"required"` } Source Files ¶ View all Source files device.go gateway.go sys_common.go Directories ¶ Show internal Expand all Path Synopsis notify @Author: LinkLeong link@icewhale.com @Author: LinkLeong link@icewhale.com Click to show internal directories. Click to hide internal directories.