Documentation ¶
Index ¶
- func GenReqDefForCreateRecordConfig() *def.HttpRequestDef
- func GenReqDefForCreateStreamForbidden() *def.HttpRequestDef
- func GenReqDefForCreateTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteRecordConfig() *def.HttpRequestDef
- func GenReqDefForDeleteStreamForbidden() *def.HttpRequestDef
- func GenReqDefForDeleteTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForListRecordConfigs() *def.HttpRequestDef
- func GenReqDefForListStreamForbidden() *def.HttpRequestDef
- func GenReqDefForShowBandwidth() *def.HttpRequestDef
- func GenReqDefForShowOnlineUsers() *def.HttpRequestDef
- func GenReqDefForShowTraffic() *def.HttpRequestDef
- func GenReqDefForShowTranscodingsTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateStreamForbidden() *def.HttpRequestDef
- func GenReqDefForUpdateTranscodingsTemplate() *def.HttpRequestDef
- func LiveClientBuilder() *http_client.HcHttpClientBuilder
- type LiveClient
- func (c *LiveClient) CreateRecordConfig(request *model.CreateRecordConfigRequest) (*model.CreateRecordConfigResponse, error)
- func (c *LiveClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
- func (c *LiveClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
- func (c *LiveClient) DeleteRecordConfig(request *model.DeleteRecordConfigRequest) (*model.DeleteRecordConfigResponse, error)
- func (c *LiveClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
- func (c *LiveClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
- func (c *LiveClient) ListRecordConfigs(request *model.ListRecordConfigsRequest) (*model.ListRecordConfigsResponse, error)
- func (c *LiveClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
- func (c *LiveClient) ShowBandwidth(request *model.ShowBandwidthRequest) (*model.ShowBandwidthResponse, error)
- func (c *LiveClient) ShowOnlineUsers(request *model.ShowOnlineUsersRequest) (*model.ShowOnlineUsersResponse, error)
- func (c *LiveClient) ShowTraffic(request *model.ShowTrafficRequest) (*model.ShowTrafficResponse, error)
- func (c *LiveClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
- func (c *LiveClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
- func (c *LiveClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateRecordConfig ¶
func GenReqDefForCreateRecordConfig() *def.HttpRequestDef
func GenReqDefForCreateStreamForbidden ¶
func GenReqDefForCreateStreamForbidden() *def.HttpRequestDef
func GenReqDefForCreateTranscodingsTemplate ¶
func GenReqDefForCreateTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForDeleteRecordConfig ¶
func GenReqDefForDeleteRecordConfig() *def.HttpRequestDef
func GenReqDefForDeleteStreamForbidden ¶
func GenReqDefForDeleteStreamForbidden() *def.HttpRequestDef
func GenReqDefForDeleteTranscodingsTemplate ¶
func GenReqDefForDeleteTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForListRecordConfigs ¶
func GenReqDefForListRecordConfigs() *def.HttpRequestDef
func GenReqDefForListStreamForbidden ¶
func GenReqDefForListStreamForbidden() *def.HttpRequestDef
func GenReqDefForShowBandwidth ¶
func GenReqDefForShowBandwidth() *def.HttpRequestDef
func GenReqDefForShowOnlineUsers ¶
func GenReqDefForShowOnlineUsers() *def.HttpRequestDef
func GenReqDefForShowTraffic ¶
func GenReqDefForShowTraffic() *def.HttpRequestDef
func GenReqDefForShowTranscodingsTemplate ¶
func GenReqDefForShowTranscodingsTemplate() *def.HttpRequestDef
func GenReqDefForUpdateStreamForbidden ¶
func GenReqDefForUpdateStreamForbidden() *def.HttpRequestDef
func GenReqDefForUpdateTranscodingsTemplate ¶
func GenReqDefForUpdateTranscodingsTemplate() *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) CreateRecordConfig ¶
func (c *LiveClient) CreateRecordConfig(request *model.CreateRecordConfigRequest) (*model.CreateRecordConfigResponse, error)
创建录制配置接口
func (*LiveClient) CreateStreamForbidden ¶
func (c *LiveClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
禁止直播推流
func (*LiveClient) CreateTranscodingsTemplate ¶
func (c *LiveClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
创建直播转码模板
func (*LiveClient) DeleteRecordConfig ¶
func (c *LiveClient) DeleteRecordConfig(request *model.DeleteRecordConfigRequest) (*model.DeleteRecordConfigResponse, error)
删除录制配置接口
func (*LiveClient) DeleteStreamForbidden ¶
func (c *LiveClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
恢复直播推流接口
func (*LiveClient) DeleteTranscodingsTemplate ¶
func (c *LiveClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
删除直播转码模板
func (*LiveClient) ListRecordConfigs ¶
func (c *LiveClient) ListRecordConfigs(request *model.ListRecordConfigsRequest) (*model.ListRecordConfigsResponse, error)
查询录制配置接口
func (*LiveClient) ListStreamForbidden ¶
func (c *LiveClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
查询禁播黑名单列表
func (*LiveClient) ShowBandwidth ¶
func (c *LiveClient) ShowBandwidth(request *model.ShowBandwidthRequest) (*model.ShowBandwidthResponse, error)
查询直播加速的播流域名网络带宽监控数据
func (*LiveClient) ShowOnlineUsers ¶
func (c *LiveClient) ShowOnlineUsers(request *model.ShowOnlineUsersRequest) (*model.ShowOnlineUsersResponse, error)
查询加速的直播播放在线人数
func (*LiveClient) ShowTraffic ¶
func (c *LiveClient) ShowTraffic(request *model.ShowTrafficRequest) (*model.ShowTrafficResponse, error)
查询直播加速的播流域名网络流量监控数据
func (*LiveClient) ShowTranscodingsTemplate ¶
func (c *LiveClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
查询直播转码模板
func (*LiveClient) UpdateStreamForbidden ¶
func (c *LiveClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
修改禁推属性
func (*LiveClient) UpdateTranscodingsTemplate ¶
func (c *LiveClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
修改直播转码模板
Click to show internal directories.
Click to hide internal directories.