Documentation
¶
Index ¶
Constants ¶
View Source
const ( CodeAreaInfo = "areaInfo" //区域 CodeUserSubscribe = "userSubscribe" //用户订阅 CodeDataFilter = "dataFilter" //大数据过滤 CodeDeviceSend = "deviceSend" //设备控制 SubCodeCreate = "create" //创建 SubCodeDelete = "delete" //创建 SubCodePropertyControlSend = "propertyControlSend" )
View Source
const (
AuthTypeCore = "core"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Code string `json:"code"` // 鉴权的编码 SubCode string `json:"subCode"` SlotCode string `json:"slotCode"` //slot的编码 Method string `json:"method"` // 请求方式 GET POST Uri string `json:"uri"` // 参考: /api/v1/system/user/self/captcha?fwefwf=gwgweg&wefaef=gwegwe Hosts []string `json:"hosts"` //访问的地址 host or host:port Body string `json:"body"` // body 参数模板 Handler map[string]string `json:"handler"` //http头 AuthType string `json:"authType"` //鉴权类型 core }
Click to show internal directories.
Click to hide internal directories.