Documentation
¶
Index ¶
- type AreaIspItem
- type AreaIspbdwItem
- type AvgspeedItem
- type BackSourceInfo
- type CacheRule
- type CodeDetailItem
- type CodeTypeDetailItem
- type CodeTypeItem
- type DeleteStream
- type Domain
- type DomainGroupItem
- type DomainSourceInfo
- type DomainbdwItem
- type ExtraCacheTime
- type FeeDomain
- type ForbiddenStream
- type ForbiddenStreamHistoryItem
- type HitRatioDiagramItem
- type HitrationTableItem
- type IpSourceInfo
- type ListDomainItem
- type ListDomainItemByFilter
- type OriBandwithDetailItem
- type OriDiagramItem
- type OribandwidthTopItem
- type OridbwTableItem
- type OriflowTopItem
- type OripvTopItem
- type OverviewTrafficDetailItem
- type OverviewTrafficItem
- type OverviewTrafficTotal
- type ProtocolConvert
- type PushStreamInfoItem
- type QueryHttpHeaderResp
- type QueryLivePrefetchItem
- type SetSourceBody
- type SimpleGroupItem
- type StatisticsData
- type StatisticsDataItem
- type StatisticsGroupSumDataItem
- type StatisticsTopIpData
- type StatisticsTopIpItem
- type StatisticsTopUrlData
- type StatisticsTopUrlItem
- type StatisticsWithAreaGroupDetail
- type StatisticsWithAreaGroupDetailItem
- type StreamDiagramItem
- type StreamTableItem
- type Tag
- type TagFilter
- type TopNRespItem
- type TopNRespItemDetail
- type TotalDetalItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaIspItem ¶ added in v1.7.0
type AreaIspbdwItem ¶ added in v1.7.0
type AreaIspbdwItem struct {
/* (Optional) */
Area string `json:"area"`
/* (Optional) */
Isp string `json:"isp"`
/* (Optional) */
Name string `json:"name"`
/* (Optional) */
FlowPercent string `json:"flowPercent"`
/* (Optional) */
PvPercent string `json:"pvPercent"`
/* (Optional) */
Avgbandwidth float64 `json:"avgbandwidth"`
/* (Optional) */
Flow float64 `json:"flow"`
/* (Optional) */
Pv int64 `json:"pv"`
/* (Optional) */
TopTimeStamp int64 `json:"topTimeStamp"`
}
type AvgspeedItem ¶ added in v1.7.0
type AvgspeedItem struct {
/* (Optional) */
Area string `json:"area"`
/* (Optional) */
Avgspeed int64 `json:"avgspeed"`
/* (Optional) */
Firstpkgtime float64 `json:"firstpkgtime"`
/* (Optional) */
ErrorRatio float64 `json:"errorRatio"`
/* (Optional) */
Flow float64 `json:"flow"`
/* (Optional) */
FlowPercent float64 `json:"flowPercent"`
/* (Optional) */
Pv int64 `json:"pv"`
/* (Optional) */
HitRatio int `json:"hitRatio"`
}
type BackSourceInfo ¶ added in v1.3.0
type BackSourceInfo struct {
/* (Optional) */
Ips []IpSourceInfo `json:"ips"`
/* (Optional) */
Domain []DomainSourceInfo `json:"domain"`
/* (Optional) */
OssSource string `json:"ossSource"`
}
type CacheRule ¶ added in v1.3.0
type CacheRule struct {
/* (Optional) */
Weight int `json:"weight"`
/* (Optional) */
Ttl int64 `json:"ttl"`
/* (Optional) */
Contents string `json:"contents"`
/* (Optional) */
CreateTime string `json:"createTime"`
/* (Optional) */
UpdateTime string `json:"updateTime"`
/* (Optional) */
CacheType string `json:"cacheType"`
}
type CodeDetailItem ¶ added in v1.7.0
type CodeDetailItem struct {
/* (Optional) */
TimeStamp int64 `json:"timeStamp"`
/* (Optional) */
Ok int64 `json:"ok"`
/* (Optional) */
BadGateway int64 `json:"badGateway"`
/* (Optional) */
BadRequest int64 `json:"badRequest"`
/* (Optional) */
Forbidden int64 `json:"forbidden"`
/* (Optional) */
Found int64 `json:"found"`
/* (Optional) */
GatewayTimeout int64 `json:"gatewayTimeout"`
/* (Optional) */
InternalServerError int64 `json:"internalServerError"`
/* (Optional) */
MovedPermanently int64 `json:"movedPermanently"`
/* (Optional) */
NotFound int64 `json:"notFound"`
/* (Optional) */
NotModified int64 `json:"notModified"`
/* (Optional) */
PartialContent int64 `json:"partialContent"`
/* (Optional) */
RequestedRangeNotSuitable int64 `json:"requestedRangeNotSuitable"`
/* (Optional) */
Other int64 `json:"other"`
ServiceUnavailable int64 `json:"serviceUnavailable"`
}
type CodeTypeDetailItem ¶ added in v1.7.0
type CodeTypeItem ¶ added in v1.7.0
type CodeTypeItem struct {
/* (Optional) */
Code string `json:"code"`
/* (Optional) */
Count int64 `json:"count"`
/* (Optional) */
Rank int `json:"rank"`
/* (Optional) */
Percent string `json:"percent"`
/* (Optional) */
Details []CodeTypeDetailItem `json:"details"`
}
type DeleteStream ¶ added in v1.7.0
type DomainGroupItem ¶ added in v1.3.0
type DomainSourceInfo ¶ added in v1.3.0
type DomainbdwItem ¶ added in v1.7.0
type ExtraCacheTime ¶ added in v1.7.0
type ForbiddenStream ¶ added in v1.7.0
type ForbiddenStreamHistoryItem ¶ added in v1.7.0
type ForbiddenStreamHistoryItem struct {
/* 禁播流 (Optional) */
Stream string `json:"stream"`
/* 封禁推流的app (Optional) */
App string `json:"app"`
/* 禁播类型:forever永不禁播limit限时禁播 (Optional) */
Type string `json:"type"`
/* 禁播时长 (Optional) */
Ttl int64 `json:"ttl"`
/* 开始禁播时间 (Optional) */
StartTime string `json:"startTime"`
/* 结束禁播时间 (Optional) */
EndTime string `json:"endTime"`
}
type HitRatioDiagramItem ¶ added in v1.7.0
type HitrationTableItem ¶ added in v1.7.0
type IpSourceInfo ¶ added in v1.3.0
type ListDomainItem ¶
type ListDomainItem struct {
/* (Optional) */
Cname string `json:"cname"`
/* (Optional) */
Description string `json:"description"`
/* (Optional) */
Domain string `json:"domain"`
/* (Optional) */
Created string `json:"created"`
/* (Optional) */
Modified string `json:"modified"`
/* (Optional) */
Status string `json:"status"`
/* (Optional) */
Type string `json:"type"`
/* (Optional) */
AuditStatus string `json:"auditStatus"`
}
type ListDomainItemByFilter ¶ added in v1.7.0
type ListDomainItemByFilter struct {
/* (Optional) */
Cname string `json:"cname"`
/* (Optional) */
Description string `json:"description"`
/* (Optional) */
Domain string `json:"domain"`
/* (Optional) */
Created string `json:"created"`
/* (Optional) */
Modified string `json:"modified"`
/* (Optional) */
Status string `json:"status"`
/* (Optional) */
Type string `json:"type"`
/* (Optional) */
AuditStatus string `json:"auditStatus"`
/* (Optional) */
Tags []Tag `json:"tags"`
}
type OriBandwithDetailItem ¶ added in v1.7.0
type OriDiagramItem ¶ added in v1.7.0
type OribandwidthTopItem ¶ added in v1.7.0
type OribandwidthTopItem struct {
/* (Optional) */
Name string `json:"name"`
/* (Optional) */
Total float64 `json:"total"`
/* (Optional) */
Detail []OriBandwithDetailItem `json:"detail"`
}
type OridbwTableItem ¶ added in v1.7.0
type OridbwTableItem struct {
/* (Optional) */
GroupByname string `json:"groupByname"`
/* (Optional) */
DomainTyep string `json:"domainTyep"`
/* (Optional) */
OriflowPercent string `json:"oriflowPercent"`
/* (Optional) */
OripvPercent string `json:"oripvPercent"`
/* (Optional) */
Avgbandwidth float64 `json:"avgbandwidth"`
/* (Optional) */
Avgoribandwidth float64 `json:"avgoribandwidth"`
/* (Optional) */
OriTopTimeStamp int64 `json:"oriTopTimeStamp"`
/* (Optional) */
Pv int64 `json:"pv"`
/* (Optional) */
Oripv int64 `json:"oripv"`
/* (Optional) */
Flow float64 `json:"flow"`
/* (Optional) */
Oriflow float64 `json:"oriflow"`
}
type OriflowTopItem ¶ added in v1.7.0
type OripvTopItem ¶ added in v1.7.0
type OverviewTrafficDetailItem ¶ added in v1.7.0
type OverviewTrafficItem ¶ added in v1.7.0
type OverviewTrafficItem struct {
/* (Optional) */
Avgbandwidth int64 `json:"avgbandwidth"`
/* (Optional) */
Flow int64 `json:"flow"`
/* (Optional) */
Pv int64 `json:"pv"`
/* (Optional) */
Maxavgbandwidthtime string `json:"maxavgbandwidthtime"`
/* (Optional) */
Details []OverviewTrafficDetailItem `json:"details"`
}
type OverviewTrafficTotal ¶ added in v1.7.0
type ProtocolConvert ¶ added in v1.3.0
type PushStreamInfoItem ¶ added in v1.7.0
type PushStreamInfoItem struct {
/* (Optional) */
Stream string `json:"stream"`
/* (Optional) */
ClientIp string `json:"clientIp"`
/* (Optional) */
StartTimeStamp int64 `json:"startTimeStamp"`
/* (Optional) */
EndTimeStamp int64 `json:"endTimeStamp"`
/* (Optional) */
Duration int64 `json:"duration"`
}
type QueryHttpHeaderResp ¶ added in v1.3.0
type QueryLivePrefetchItem ¶ added in v1.7.0
type SetSourceBody ¶ added in v1.3.0
type SetSourceBody struct {
/* 回源类型只能是[ips,domain,oss]中的一种 (Optional) */
SourceType string `json:"sourceType"`
/* 回源类型,目前只能为rtmp (Optional) */
BackSourceType string `json:"backSourceType"`
/* (Optional) */
IpSource []IpSourceInfo `json:"ipSource"`
/* (Optional) */
DomainSource []DomainSourceInfo `json:"domainSource"`
/* (Optional) */
OssSource string `json:"ossSource"`
/* (Optional) */
DefaultSourceHost string `json:"defaultSourceHost"`
}
type SimpleGroupItem ¶ added in v1.7.0
type StatisticsData ¶
type StatisticsData struct {
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime string `json:"startTime"`
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime string `json:"endTime"`
/* (Optional) */
Domain string `json:"domain"`
/* (Optional) */
DataItemList []StatisticsDataItem `json:"dataItemList"`
}
type StatisticsDataItem ¶
type StatisticsDataItem struct {
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime string `json:"startTime"`
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime string `json:"endTime"`
/* 查询结果,类型为HashMap<String, Object> (Optional) */
Data interface{} `json:"data"`
}
type StatisticsGroupSumDataItem ¶
type StatisticsGroupSumDataItem struct {
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime string `json:"startTime"`
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime string `json:"endTime"`
/* 查询结果,类型为HashMap<String, Object> (Optional) */
Data interface{} `json:"data"`
}
type StatisticsTopIpData ¶
type StatisticsTopIpData struct {
/* (Optional) */
Count int `json:"count"`
/* (Optional) */
Ips []StatisticsTopIpItem `json:"ips"`
}
type StatisticsTopIpItem ¶
type StatisticsTopUrlData ¶
type StatisticsTopUrlData struct {
/* (Optional) */
Count int `json:"count"`
/* (Optional) */
Urls []StatisticsTopUrlItem `json:"urls"`
}
type StatisticsTopUrlItem ¶
type StatisticsWithAreaGroupDetail ¶
type StatisticsWithAreaGroupDetail struct {
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime string `json:"startTime"`
/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime string `json:"endTime"`
/* null (Optional) */
Data []StatisticsWithAreaGroupDetailItem `json:"data"`
}
type StatisticsWithAreaGroupDetailItem ¶
type StatisticsWithAreaGroupDetailItem struct {
/* (Optional) */
Area string `json:"area"`
/* (Optional) */
IspStat []interface{} `json:"ispStat"`
}
type StreamDiagramItem ¶ added in v1.7.0
type StreamDiagramItem struct {
/* (Optional) */
TimeStamp int64 `json:"timeStamp"`
/* (Optional) */
Data interface{} `json:"data"`
}
type StreamTableItem ¶ added in v1.7.0
type TopNRespItem ¶ added in v1.7.0
type TopNRespItem struct {
/* (Optional) */
TopKey string `json:"topKey"`
/* (Optional) */
TopValue interface{} `json:"topValue"`
/* (Optional) */
TopFlowValue float64 `json:"topFlowValue"`
/* (Optional) */
TopFlowPercent string `json:"topFlowPercent"`
/* (Optional) */
Details []TopNRespItemDetail `json:"details"`
}
type TopNRespItemDetail ¶ added in v1.7.0
type TotalDetalItem ¶ added in v1.7.0
type TotalDetalItem struct {
/* (Optional) */
Data interface{} `json:"data"`
/* (Optional) */
OriData interface{} `json:"oriData"`
/* (Optional) */
TimeStamp int64 `json:"timeStamp"`
}
Source Files
¶
- AreaIspItem.go
- AreaIspbdwItem.go
- AvgspeedItem.go
- BackSourceInfo.go
- CacheRule.go
- CodeDetailItem.go
- CodeTypeDetailItem.go
- CodeTypeItem.go
- DeleteStream.go
- Domain.go
- DomainGroupItem.go
- DomainSourceInfo.go
- DomainbdwItem.go
- ExtraCacheTime.go
- FeeDomain.go
- ForbiddenStream.go
- ForbiddenStreamHistoryItem.go
- HitRatioDiagramItem.go
- HitrationTableItem.go
- IpSourceInfo.go
- ListDomainItem.go
- ListDomainItemByFilter.go
- OriBandwithDetailItem.go
- OriDiagramItem.go
- OribandwidthTopItem.go
- OridbwTableItem.go
- OriflowTopItem.go
- OripvTopItem.go
- OverviewTrafficDetailItem.go
- OverviewTrafficItem.go
- OverviewTrafficTotal.go
- ProtocolConvert.go
- PushStreamInfoItem.go
- QueryHttpHeaderResp.go
- QueryLivePrefetchItem.go
- SetSourceBody.go
- SimpleGroupItem.go
- StatisticsData.go
- StatisticsDataItem.go
- StatisticsGroupSumDataItem.go
- StatisticsTopIpData.go
- StatisticsTopIpItem.go
- StatisticsTopUrlData.go
- StatisticsTopUrlItem.go
- StatisticsWithAreaGroupDetail.go
- StatisticsWithAreaGroupDetailItem.go
- StreamDiagramItem.go
- StreamTableItem.go
- Tag.go
- TagFilter.go
- TopNRespItem.go
- TopNRespItemDetail.go
- TotalDetalItem.go
Click to show internal directories.
Click to hide internal directories.