Documentation ¶
Index ¶
- func GenReqDefForListBandwidthDetail() *def.HttpRequestDef
- func GenReqDefForListDomainBandwidthPeak() *def.HttpRequestDef
- func GenReqDefForListDomainTrafficDetail() *def.HttpRequestDef
- func GenReqDefForListDomainTrafficSummary() *def.HttpRequestDef
- func GenReqDefForListHistoryStreams() *def.HttpRequestDef
- func GenReqDefForListQueryHttpCode() *def.HttpRequestDef
- func GenReqDefForListRecordData() *def.HttpRequestDef
- func GenReqDefForListSingleStreamBitrate() *def.HttpRequestDef
- func GenReqDefForListSingleStreamFramerate() *def.HttpRequestDef
- func GenReqDefForListSnapshotData() *def.HttpRequestDef
- func GenReqDefForListTranscodeData() *def.HttpRequestDef
- func GenReqDefForListUsersOfStream() *def.HttpRequestDef
- func GenReqDefForShowStreamCount() *def.HttpRequestDef
- func GenReqDefForShowStreamPortrait() *def.HttpRequestDef
- func GenReqDefForShowUpBandwidth() *def.HttpRequestDef
- func LiveClientBuilder() *http_client.HcHttpClientBuilder
- type LiveClient
- func (c *LiveClient) ListBandwidthDetail(request *model.ListBandwidthDetailRequest) (*model.ListBandwidthDetailResponse, error)
- func (c *LiveClient) ListDomainBandwidthPeak(request *model.ListDomainBandwidthPeakRequest) (*model.ListDomainBandwidthPeakResponse, error)
- func (c *LiveClient) ListDomainTrafficDetail(request *model.ListDomainTrafficDetailRequest) (*model.ListDomainTrafficDetailResponse, error)
- func (c *LiveClient) ListDomainTrafficSummary(request *model.ListDomainTrafficSummaryRequest) (*model.ListDomainTrafficSummaryResponse, error)
- func (c *LiveClient) ListHistoryStreams(request *model.ListHistoryStreamsRequest) (*model.ListHistoryStreamsResponse, error)
- func (c *LiveClient) ListQueryHttpCode(request *model.ListQueryHttpCodeRequest) (*model.ListQueryHttpCodeResponse, error)
- func (c *LiveClient) ListRecordData(request *model.ListRecordDataRequest) (*model.ListRecordDataResponse, error)
- func (c *LiveClient) ListSingleStreamBitrate(request *model.ListSingleStreamBitrateRequest) (*model.ListSingleStreamBitrateResponse, error)
- func (c *LiveClient) ListSingleStreamFramerate(request *model.ListSingleStreamFramerateRequest) (*model.ListSingleStreamFramerateResponse, error)
- func (c *LiveClient) ListSnapshotData(request *model.ListSnapshotDataRequest) (*model.ListSnapshotDataResponse, error)
- func (c *LiveClient) ListTranscodeData(request *model.ListTranscodeDataRequest) (*model.ListTranscodeDataResponse, error)
- func (c *LiveClient) ListUsersOfStream(request *model.ListUsersOfStreamRequest) (*model.ListUsersOfStreamResponse, error)
- func (c *LiveClient) ShowStreamCount(request *model.ShowStreamCountRequest) (*model.ShowStreamCountResponse, error)
- func (c *LiveClient) ShowStreamPortrait(request *model.ShowStreamPortraitRequest) (*model.ShowStreamPortraitResponse, error)
- func (c *LiveClient) ShowUpBandwidth(request *model.ShowUpBandwidthRequest) (*model.ShowUpBandwidthResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForListBandwidthDetail ¶
func GenReqDefForListBandwidthDetail() *def.HttpRequestDef
func GenReqDefForListDomainBandwidthPeak ¶
func GenReqDefForListDomainBandwidthPeak() *def.HttpRequestDef
func GenReqDefForListDomainTrafficDetail ¶
func GenReqDefForListDomainTrafficDetail() *def.HttpRequestDef
func GenReqDefForListDomainTrafficSummary ¶
func GenReqDefForListDomainTrafficSummary() *def.HttpRequestDef
func GenReqDefForListHistoryStreams ¶
func GenReqDefForListHistoryStreams() *def.HttpRequestDef
func GenReqDefForListQueryHttpCode ¶
func GenReqDefForListQueryHttpCode() *def.HttpRequestDef
func GenReqDefForListRecordData ¶
func GenReqDefForListRecordData() *def.HttpRequestDef
func GenReqDefForListSingleStreamBitrate ¶
func GenReqDefForListSingleStreamBitrate() *def.HttpRequestDef
func GenReqDefForListSingleStreamFramerate ¶
func GenReqDefForListSingleStreamFramerate() *def.HttpRequestDef
func GenReqDefForListSnapshotData ¶
func GenReqDefForListSnapshotData() *def.HttpRequestDef
func GenReqDefForListTranscodeData ¶
func GenReqDefForListTranscodeData() *def.HttpRequestDef
func GenReqDefForListUsersOfStream ¶
func GenReqDefForListUsersOfStream() *def.HttpRequestDef
func GenReqDefForShowStreamCount ¶
func GenReqDefForShowStreamCount() *def.HttpRequestDef
func GenReqDefForShowStreamPortrait ¶
func GenReqDefForShowStreamPortrait() *def.HttpRequestDef
func GenReqDefForShowUpBandwidth ¶
func GenReqDefForShowUpBandwidth() *def.HttpRequestDef
func LiveClientBuilder ¶
func LiveClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type LiveClient ¶
type LiveClient struct {
HcClient *http_client.HcHttpClient
}
func NewLiveClient ¶
func NewLiveClient(hcClient *http_client.HcHttpClient) *LiveClient
func (*LiveClient) ListBandwidthDetail ¶
func (c *LiveClient) ListBandwidthDetail(request *model.ListBandwidthDetailRequest) (*model.ListBandwidthDetailResponse, error)
查询播放域名带宽数据。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListDomainBandwidthPeak ¶
func (c *LiveClient) ListDomainBandwidthPeak(request *model.ListDomainBandwidthPeakRequest) (*model.ListDomainBandwidthPeakResponse, error)
查询指定时间范围内播放带宽峰值。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListDomainTrafficDetail ¶
func (c *LiveClient) ListDomainTrafficDetail(request *model.ListDomainTrafficDetailRequest) (*model.ListDomainTrafficDetailResponse, error)
查询播放域名流量数据。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListDomainTrafficSummary ¶
func (c *LiveClient) ListDomainTrafficSummary(request *model.ListDomainTrafficSummaryRequest) (*model.ListDomainTrafficSummaryResponse, error)
查询指定时间范围内流量汇总量。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListHistoryStreams ¶
func (c *LiveClient) ListHistoryStreams(request *model.ListHistoryStreamsRequest) (*model.ListHistoryStreamsResponse, error)
查询历史推流列表。 最大查询跨度1天,最大查询周期7天。
func (*LiveClient) ListQueryHttpCode ¶
func (c *LiveClient) ListQueryHttpCode(request *model.ListQueryHttpCodeRequest) (*model.ListQueryHttpCodeResponse, error)
查询直播拉流HTTP状态码接口。 获取加速域名1分钟粒度的HTTP返回码 最大查询跨度不能超过24小时,最大查询周期7天。
func (*LiveClient) ListRecordData ¶
func (c *LiveClient) ListRecordData(request *model.ListRecordDataRequest) (*model.ListRecordDataResponse, error)
查询直播租户每小时录制的最大并发数,计算1小时内每分钟的并发总路数,取最大值做为统计值。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListSingleStreamBitrate ¶
func (c *LiveClient) ListSingleStreamBitrate(request *model.ListSingleStreamBitrateRequest) (*model.ListSingleStreamBitrateResponse, error)
查询推流监控码率数据接口。 最大查询跨度6小时,最大查询周期7天。
func (*LiveClient) ListSingleStreamFramerate ¶
func (c *LiveClient) ListSingleStreamFramerate(request *model.ListSingleStreamFramerateRequest) (*model.ListSingleStreamFramerateResponse, error)
查询推流帧率数据接口。 最大查询跨度6小时,最大查询周期7天。
func (*LiveClient) ListSnapshotData ¶
func (c *LiveClient) ListSnapshotData(request *model.ListSnapshotDataRequest) (*model.ListSnapshotDataResponse, error)
查询直播域名每小时的截图数量。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListTranscodeData ¶
func (c *LiveClient) ListTranscodeData(request *model.ListTranscodeDataRequest) (*model.ListTranscodeDataResponse, error)
查询直播域名每小时的转码时长数据。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ListUsersOfStream ¶
func (c *LiveClient) ListUsersOfStream(request *model.ListUsersOfStreamRequest) (*model.ListUsersOfStreamResponse, error)
查询观众趋势。 最大查询跨度7天,最大查询周期90天。
func (*LiveClient) ShowStreamCount ¶
func (c *LiveClient) ShowStreamCount(request *model.ShowStreamCountRequest) (*model.ShowStreamCountResponse, error)
查询域名维度推流路数接口。 最大查询跨度31天,最大查询周期90天。
func (*LiveClient) ShowStreamPortrait ¶
func (c *LiveClient) ShowStreamPortrait(request *model.ShowStreamPortraitRequest) (*model.ShowStreamPortraitResponse, error)
查询播放画像信息。 最大查询跨度1天,最大查询周期31天。
func (*LiveClient) ShowUpBandwidth ¶
func (c *LiveClient) ShowUpBandwidth(request *model.ShowUpBandwidthRequest) (*model.ShowUpBandwidthResponse, error)
查询上行带宽数据。 最大查询跨度31天,最大查询周期90天。
Click to show internal directories.
Click to hide internal directories.