models

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaIspItem added in v1.7.0

type AreaIspItem struct {

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Code string `json:"code"`
}

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"`

	/*  (Optional) */
	ServiceUnavailable int64 `json:"serviceUnavailable"`
}

type CodeTypeDetailItem added in v1.7.0

type CodeTypeDetailItem struct {

	/*  (Optional) */
	Code string `json:"code"`

	/*  (Optional) */
	Count int64 `json:"count"`

	/*  (Optional) */
	Rank int `json:"rank"`

	/*  (Optional) */
	Percent string `json:"percent"`
}

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 DeleteStream struct {

	/* 禁播流 (Optional) */
	Stream string `json:"stream"`

	/* 封禁推流的app (Optional) */
	App string `json:"app"`
}

type Domain added in v1.7.0

type Domain struct {

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	Status string `json:"status"`
}

type DomainGroupItem added in v1.3.0

type DomainGroupItem struct {

	/* 域名组成员 (Optional) */
	Domains []string `json:"domains"`

	/* 主域名 (Optional) */
	PrimaryDomain string `json:"primaryDomain"`

	/* 是否共享缓存 (Optional) */
	ShareCache string `json:"shareCache"`

	/* 域名组名称 (Optional) */
	DomainGroupName string `json:"domainGroupName"`
}

type DomainSourceInfo added in v1.3.0

type DomainSourceInfo struct {

	/*  (Optional) */
	Priority int `json:"priority"`

	/*  (Optional) */
	SourceHost string `json:"sourceHost"`

	/*  (Optional) */
	Domain string `json:"domain"`
}

type DomainbdwItem added in v1.7.0

type DomainbdwItem struct {

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	DomainType string `json:"domainType"`

	/*  (Optional) */
	TimeStamp int64 `json:"timeStamp"`
}

type ExtraCacheTime added in v1.7.0

type ExtraCacheTime struct {

	/* http状态码 (Optional) */
	HttpCode string `json:"httpCode"`

	/* 缓存时间 (Optional) */
	CacheTime int64 `json:"cacheTime"`
}

type FeeDomain added in v1.7.0

type FeeDomain struct {

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	FeeType int `json:"feeType"`
}

type ForbiddenStream added in v1.7.0

type ForbiddenStream struct {

	/* 禁播流 (Optional) */
	Stream string `json:"stream"`

	/* 封禁推流的app (Optional) */
	App string `json:"app"`

	/* 禁播类型:forever永不禁播limit限时禁播 (Optional) */
	Type string `json:"type"`

	/* 禁播时长 (Optional) */
	Ttl int64 `json:"ttl"`
}

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 HitRatioDiagramItem struct {

	/*  (Optional) */
	FlowRatio float64 `json:"flowRatio"`

	/*  (Optional) */
	ReqRatio float64 `json:"reqRatio"`

	/*  (Optional) */
	TimeStamp int64 `json:"timeStamp"`
}

type HitrationTableItem added in v1.7.0

type HitrationTableItem struct {

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	DomainType string `json:"domainType"`

	/*  (Optional) */
	Pv int64 `json:"pv"`

	/*  (Optional) */
	Hitpv int64 `json:"hitpv"`

	/*  (Optional) */
	HitRatio string `json:"hitRatio"`
}

type IpSourceInfo added in v1.3.0

type IpSourceInfo struct {

	/*  (Optional) */
	Master int `json:"master"`

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Ratio float64 `json:"ratio"`
}

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 OriBandwithDetailItem struct {

	/*  (Optional) */
	TimeStamp int64 `json:"timeStamp"`

	/*  (Optional) */
	Avgoribandwidth float64 `json:"avgoribandwidth"`
}

type OriDiagramItem added in v1.7.0

type OriDiagramItem struct {

	/*  (Optional) */
	OriRatio string `json:"oriRatio"`

	/*  (Optional) */
	Avgbandwidth float64 `json:"avgbandwidth"`

	/*  (Optional) */
	Avgoribandwidth float64 `json:"avgoribandwidth"`

	/*  (Optional) */
	TimeStamp int64 `json:"timeStamp"`
}

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 OriflowTopItem struct {

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Oriflow float64 `json:"oriflow"`

	/*  (Optional) */
	Hitflow float64 `json:"hitflow"`

	/*  (Optional) */
	Flow float64 `json:"flow"`

	/*  (Optional) */
	FlowPercent string `json:"flowPercent"`
}

type OripvTopItem added in v1.7.0

type OripvTopItem struct {

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Hitpv int64 `json:"hitpv"`

	/*  (Optional) */
	Pv int64 `json:"pv"`

	/*  (Optional) */
	Oripv int64 `json:"oripv"`

	/*  (Optional) */
	OripvPercent string `json:"oripvPercent"`
}

type OverviewTrafficDetailItem added in v1.7.0

type OverviewTrafficDetailItem struct {

	/*  (Optional) */
	Data int64 `json:"data"`

	/*  (Optional) */
	TimeStamp string `json:"timeStamp"`
}

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 OverviewTrafficTotal struct {

	/*  (Optional) */
	Avgbandwidth float64 `json:"avgbandwidth"`

	/*  (Optional) */
	Flow float64 `json:"flow"`

	/*  (Optional) */
	Pv int64 `json:"pv"`

	/*  (Optional) */
	TopTimeStamp int64 `json:"topTimeStamp"`
}

type ProtocolConvert added in v1.3.0

type ProtocolConvert struct {

	/* 源协议,目前只能为rtmp (Optional) */
	SourceProtocol string `json:"sourceProtocol"`

	/* 目标协议 (Optional) */
	TargetProtocol string `json:"targetProtocol"`
}

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 QueryHttpHeaderResp struct {

	/*  (Optional) */
	HeaderType string `json:"headerType"`

	/*  (Optional) */
	HeaderName string `json:"headerName"`

	/*  (Optional) */
	HeaderValue string `json:"headerValue"`

	/*  (Optional) */
	HeaderOp string `json:"headerOp"`
}

type QueryLivePrefetchItem added in v1.7.0

type QueryLivePrefetchItem struct {

	/*  (Optional) */
	Stream string `json:"stream"`

	/*  (Optional) */
	Code int `json:"code"`

	/*  (Optional) */
	Message string `json:"message"`
}

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 SimpleGroupItem struct {

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Id int64 `json:"id"`
}

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 StatisticsTopIpItem struct {

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Rank int `json:"rank"`

	/*  (Optional) */
	Value int `json:"value"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	FullValue interface{} `json:"fullValue"`
}

type StatisticsTopUrlData

type StatisticsTopUrlData struct {

	/*  (Optional) */
	Count int `json:"count"`

	/*  (Optional) */
	Urls []StatisticsTopUrlItem `json:"urls"`
}

type StatisticsTopUrlItem

type StatisticsTopUrlItem struct {

	/*  (Optional) */
	Url string `json:"url"`

	/*  (Optional) */
	Rank int `json:"rank"`

	/*  (Optional) */
	Value int `json:"value"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	FullValue interface{} `json:"fullValue"`
}

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 StreamTableItem struct {

	/*  (Optional) */
	TopTimeStamp int64 `json:"topTimeStamp"`

	/*  (Optional) */
	Avgbandwidth float64 `json:"avgbandwidth"`

	/*  (Optional) */
	Flow float64 `json:"flow"`

	/*  (Optional) */
	Pv int64 `json:"pv"`

	/*  (Optional) */
	StreamName string `json:"streamName"`
}

type Tag added in v1.7.0

type Tag struct {

	/*  (Optional) */
	Key string `json:"key"`

	/*  (Optional) */
	Value string `json:"value"`
}

type TagFilter added in v1.7.0

type TagFilter struct {

	/*  (Optional) */
	Key *string `json:"key"`

	/*  (Optional) */
	Values []string `json:"values"`
}

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 TopNRespItemDetail struct {

	/*  (Optional) */
	TimeStamp int64 `json:"timeStamp"`

	/*  (Optional) */
	Data int64 `json:"data"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL