Documentation ¶
Overview ¶
*
- Created by GoLand.
- User: 姜伟
- Date: 2020/2/1 0001
- Time: 15:14
*
- Created by GoLand.
- User: 姜伟
- Date: 2020/2/1 0001
- Time: 15:15
*
- Created by GoLand.
- User: 姜伟
- Date: 2020/2/1 0001
- Time: 15:15
*
- Created by GoLand.
- User: 姜伟
- Date: 2020/2/1 0001
- Time: 15:15
Index ¶
Constants ¶
View Source
const ( BaiDuDomainBJ = "iot.bj.baidubce.com" BaiDuDomainBJMqtt = "api.mqtt.iot.bj.baidubce.com" BaiDuDomainGZ = "iot.gz.baidubce.com" BaiDuDomainGZMqtt = "api.mqtt.iot.gz.baidubce.com" )
Variables ¶
View Source
var (
BaiDuDomains map[string]int
)
Functions ¶
Types ¶
type BaseBaiDu ¶
type BaseBaiDu struct { ServiceUri string // 服务URI // contains filtered or unexported fields }
func NewBaseBaiDu ¶
func NewBaseBaiDu() BaseBaiDu
func (*BaseBaiDu) GetRequest ¶
func (*BaseBaiDu) GetServiceUrl ¶
func (*BaseBaiDu) SetServiceDomain ¶
func (*BaseBaiDu) SetServiceProtocol ¶
type BaseTencent ¶
type BaseTencent struct {
// contains filtered or unexported fields
}
func NewBaseTencent ¶
func NewBaseTencent() BaseTencent
func (*BaseTencent) GetRequest ¶
func (t *BaseTencent) GetRequest() (*fasthttp.Client, *fasthttp.Request)
func (*BaseTencent) SetServiceDomain ¶
func (t *BaseTencent) SetServiceDomain(serviceDomain string)
Directories ¶
Path | Synopsis |
---|---|
baidu
|
|
action
* * Created by GoLand.
|
* * Created by GoLand. |
auth
* * Created by GoLand.
|
* * Created by GoLand. |
client
* * Created by GoLand.
|
* * Created by GoLand. |
endpoint
* * Created by GoLand.
|
* * Created by GoLand. |
management/device
* * Created by GoLand.
|
* * Created by GoLand. |
management/domain
* * Created by GoLand.
|
* * Created by GoLand. |
management/ota
* * Created by GoLand.
|
* * Created by GoLand. |
permission
* * Created by GoLand.
|
* * Created by GoLand. |
policy
* * Created by GoLand.
|
* * Created by GoLand. |
principal
* * Created by GoLand.
|
* * Created by GoLand. |
rules
* * Created by GoLand.
|
* * Created by GoLand. |
thing
* * Created by GoLand.
|
* * Created by GoLand. |
usage
* * Created by GoLand.
|
* * Created by GoLand. |
tencent
|
|
device
* * Created by GoLand.
|
* * Created by GoLand. |
model
* * Created by GoLand.
|
* * Created by GoLand. |
project
* * Created by GoLand.
|
* * Created by GoLand. |
studio
* * Created by GoLand.
|
* * Created by GoLand. |
Click to show internal directories.
Click to hide internal directories.