Documentation ¶
Index ¶
- func GenReqDefForCreateRecordConfig(request *model.CreateRecordConfigRequest) *def.HttpRequestDef
- func GenReqDefForCreateStreamForbidden(request *model.CreateStreamForbiddenRequest) *def.HttpRequestDef
- func GenReqDefForCreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) *def.HttpRequestDef
- func GenReqDefForDeleteRecordConfig(request *model.DeleteRecordConfigRequest) *def.HttpRequestDef
- func GenReqDefForDeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) *def.HttpRequestDef
- func GenReqDefForDeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) *def.HttpRequestDef
- func GenReqDefForListRecordConfigs(request *model.ListRecordConfigsRequest) *def.HttpRequestDef
- func GenReqDefForListStreamForbidden(request *model.ListStreamForbiddenRequest) *def.HttpRequestDef
- func GenReqDefForShowBandwidth(request *model.ShowBandwidthRequest) *def.HttpRequestDef
- func GenReqDefForShowOnlineUsers(request *model.ShowOnlineUsersRequest) *def.HttpRequestDef
- func GenReqDefForShowTraffic(request *model.ShowTrafficRequest) *def.HttpRequestDef
- func GenReqDefForShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) *def.HttpRequestDef
- func GenReqDefForUpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) *def.HttpRequestDef
- func GenReqDefForUpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) *def.HttpRequestDef
- func GenRespForCreateRecordConfig() (*model.CreateRecordConfigResponse, *def.HttpResponseDef)
- func GenRespForCreateStreamForbidden() (*model.CreateStreamForbiddenResponse, *def.HttpResponseDef)
- func GenRespForCreateTranscodingsTemplate() (*model.CreateTranscodingsTemplateResponse, *def.HttpResponseDef)
- func GenRespForDeleteRecordConfig() (*model.DeleteRecordConfigResponse, *def.HttpResponseDef)
- func GenRespForDeleteStreamForbidden() (*model.DeleteStreamForbiddenResponse, *def.HttpResponseDef)
- func GenRespForDeleteTranscodingsTemplate() (*model.DeleteTranscodingsTemplateResponse, *def.HttpResponseDef)
- func GenRespForListRecordConfigs() (*model.ListRecordConfigsResponse, *def.HttpResponseDef)
- func GenRespForListStreamForbidden() (*model.ListStreamForbiddenResponse, *def.HttpResponseDef)
- func GenRespForShowBandwidth() (*model.ShowBandwidthResponse, *def.HttpResponseDef)
- func GenRespForShowOnlineUsers() (*model.ShowOnlineUsersResponse, *def.HttpResponseDef)
- func GenRespForShowTraffic() (*model.ShowTrafficResponse, *def.HttpResponseDef)
- func GenRespForShowTranscodingsTemplate() (*model.ShowTranscodingsTemplateResponse, *def.HttpResponseDef)
- func GenRespForUpdateStreamForbidden() (*model.UpdateStreamForbiddenResponse, *def.HttpResponseDef)
- func GenRespForUpdateTranscodingsTemplate() (*model.UpdateTranscodingsTemplateResponse, *def.HttpResponseDef)
- func LiveAPIClientBuilder() *http_client.HcHttpClientBuilder
- type LiveAPIClient
- func (c *LiveAPIClient) CreateRecordConfig(request *model.CreateRecordConfigRequest) (*model.CreateRecordConfigResponse, error)
- func (c *LiveAPIClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
- func (c *LiveAPIClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
- func (c *LiveAPIClient) DeleteRecordConfig(request *model.DeleteRecordConfigRequest) (*model.DeleteRecordConfigResponse, error)
- func (c *LiveAPIClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
- func (c *LiveAPIClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
- func (c *LiveAPIClient) ListRecordConfigs(request *model.ListRecordConfigsRequest) (*model.ListRecordConfigsResponse, error)
- func (c *LiveAPIClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
- func (c *LiveAPIClient) ShowBandwidth(request *model.ShowBandwidthRequest) (*model.ShowBandwidthResponse, error)
- func (c *LiveAPIClient) ShowOnlineUsers(request *model.ShowOnlineUsersRequest) (*model.ShowOnlineUsersResponse, error)
- func (c *LiveAPIClient) ShowTraffic(request *model.ShowTrafficRequest) (*model.ShowTrafficResponse, error)
- func (c *LiveAPIClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
- func (c *LiveAPIClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
- func (c *LiveAPIClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateRecordConfig ¶
func GenReqDefForCreateRecordConfig(request *model.CreateRecordConfigRequest) *def.HttpRequestDef
func GenReqDefForCreateStreamForbidden ¶
func GenReqDefForCreateStreamForbidden(request *model.CreateStreamForbiddenRequest) *def.HttpRequestDef
func GenReqDefForCreateTranscodingsTemplate ¶
func GenReqDefForCreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) *def.HttpRequestDef
func GenReqDefForDeleteRecordConfig ¶
func GenReqDefForDeleteRecordConfig(request *model.DeleteRecordConfigRequest) *def.HttpRequestDef
func GenReqDefForDeleteStreamForbidden ¶
func GenReqDefForDeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) *def.HttpRequestDef
func GenReqDefForDeleteTranscodingsTemplate ¶
func GenReqDefForDeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) *def.HttpRequestDef
func GenReqDefForListRecordConfigs ¶
func GenReqDefForListRecordConfigs(request *model.ListRecordConfigsRequest) *def.HttpRequestDef
func GenReqDefForListStreamForbidden ¶
func GenReqDefForListStreamForbidden(request *model.ListStreamForbiddenRequest) *def.HttpRequestDef
func GenReqDefForShowBandwidth ¶
func GenReqDefForShowBandwidth(request *model.ShowBandwidthRequest) *def.HttpRequestDef
func GenReqDefForShowOnlineUsers ¶
func GenReqDefForShowOnlineUsers(request *model.ShowOnlineUsersRequest) *def.HttpRequestDef
func GenReqDefForShowTraffic ¶
func GenReqDefForShowTraffic(request *model.ShowTrafficRequest) *def.HttpRequestDef
func GenReqDefForShowTranscodingsTemplate ¶
func GenReqDefForShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) *def.HttpRequestDef
func GenReqDefForUpdateStreamForbidden ¶
func GenReqDefForUpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) *def.HttpRequestDef
func GenReqDefForUpdateTranscodingsTemplate ¶
func GenReqDefForUpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) *def.HttpRequestDef
func GenRespForCreateRecordConfig ¶
func GenRespForCreateRecordConfig() (*model.CreateRecordConfigResponse, *def.HttpResponseDef)
func GenRespForCreateStreamForbidden ¶
func GenRespForCreateStreamForbidden() (*model.CreateStreamForbiddenResponse, *def.HttpResponseDef)
func GenRespForCreateTranscodingsTemplate ¶
func GenRespForCreateTranscodingsTemplate() (*model.CreateTranscodingsTemplateResponse, *def.HttpResponseDef)
func GenRespForDeleteRecordConfig ¶
func GenRespForDeleteRecordConfig() (*model.DeleteRecordConfigResponse, *def.HttpResponseDef)
func GenRespForDeleteStreamForbidden ¶
func GenRespForDeleteStreamForbidden() (*model.DeleteStreamForbiddenResponse, *def.HttpResponseDef)
func GenRespForDeleteTranscodingsTemplate ¶
func GenRespForDeleteTranscodingsTemplate() (*model.DeleteTranscodingsTemplateResponse, *def.HttpResponseDef)
func GenRespForListRecordConfigs ¶
func GenRespForListRecordConfigs() (*model.ListRecordConfigsResponse, *def.HttpResponseDef)
func GenRespForListStreamForbidden ¶
func GenRespForListStreamForbidden() (*model.ListStreamForbiddenResponse, *def.HttpResponseDef)
func GenRespForShowBandwidth ¶
func GenRespForShowBandwidth() (*model.ShowBandwidthResponse, *def.HttpResponseDef)
func GenRespForShowOnlineUsers ¶
func GenRespForShowOnlineUsers() (*model.ShowOnlineUsersResponse, *def.HttpResponseDef)
func GenRespForShowTraffic ¶
func GenRespForShowTraffic() (*model.ShowTrafficResponse, *def.HttpResponseDef)
func GenRespForShowTranscodingsTemplate ¶
func GenRespForShowTranscodingsTemplate() (*model.ShowTranscodingsTemplateResponse, *def.HttpResponseDef)
func GenRespForUpdateStreamForbidden ¶
func GenRespForUpdateStreamForbidden() (*model.UpdateStreamForbiddenResponse, *def.HttpResponseDef)
func GenRespForUpdateTranscodingsTemplate ¶
func GenRespForUpdateTranscodingsTemplate() (*model.UpdateTranscodingsTemplateResponse, *def.HttpResponseDef)
func LiveAPIClientBuilder ¶
func LiveAPIClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type LiveAPIClient ¶
type LiveAPIClient struct {
// contains filtered or unexported fields
}
func NewLiveAPIClient ¶
func NewLiveAPIClient(hcClient *http_client.HcHttpClient) *LiveAPIClient
func (*LiveAPIClient) CreateRecordConfig ¶
func (c *LiveAPIClient) CreateRecordConfig(request *model.CreateRecordConfigRequest) (*model.CreateRecordConfigResponse, error)
创建录制配置接口
func (*LiveAPIClient) CreateStreamForbidden ¶
func (c *LiveAPIClient) CreateStreamForbidden(request *model.CreateStreamForbiddenRequest) (*model.CreateStreamForbiddenResponse, error)
禁止直播推流
func (*LiveAPIClient) CreateTranscodingsTemplate ¶
func (c *LiveAPIClient) CreateTranscodingsTemplate(request *model.CreateTranscodingsTemplateRequest) (*model.CreateTranscodingsTemplateResponse, error)
创建直播转码模板
func (*LiveAPIClient) DeleteRecordConfig ¶
func (c *LiveAPIClient) DeleteRecordConfig(request *model.DeleteRecordConfigRequest) (*model.DeleteRecordConfigResponse, error)
删除录制配置接口
func (*LiveAPIClient) DeleteStreamForbidden ¶
func (c *LiveAPIClient) DeleteStreamForbidden(request *model.DeleteStreamForbiddenRequest) (*model.DeleteStreamForbiddenResponse, error)
恢复直播推流接口
func (*LiveAPIClient) DeleteTranscodingsTemplate ¶
func (c *LiveAPIClient) DeleteTranscodingsTemplate(request *model.DeleteTranscodingsTemplateRequest) (*model.DeleteTranscodingsTemplateResponse, error)
删除直播转码模板
func (*LiveAPIClient) ListRecordConfigs ¶
func (c *LiveAPIClient) ListRecordConfigs(request *model.ListRecordConfigsRequest) (*model.ListRecordConfigsResponse, error)
查询录制配置接口
func (*LiveAPIClient) ListStreamForbidden ¶
func (c *LiveAPIClient) ListStreamForbidden(request *model.ListStreamForbiddenRequest) (*model.ListStreamForbiddenResponse, error)
查询禁播黑名单列表
func (*LiveAPIClient) ShowBandwidth ¶
func (c *LiveAPIClient) ShowBandwidth(request *model.ShowBandwidthRequest) (*model.ShowBandwidthResponse, error)
查询直播加速的播流域名网络带宽监控数据
func (*LiveAPIClient) ShowOnlineUsers ¶
func (c *LiveAPIClient) ShowOnlineUsers(request *model.ShowOnlineUsersRequest) (*model.ShowOnlineUsersResponse, error)
查询加速的直播播放在线人数
func (*LiveAPIClient) ShowTraffic ¶
func (c *LiveAPIClient) ShowTraffic(request *model.ShowTrafficRequest) (*model.ShowTrafficResponse, error)
查询直播加速的播流域名网络流量监控数据
func (*LiveAPIClient) ShowTranscodingsTemplate ¶
func (c *LiveAPIClient) ShowTranscodingsTemplate(request *model.ShowTranscodingsTemplateRequest) (*model.ShowTranscodingsTemplateResponse, error)
查询直播转码模板
func (*LiveAPIClient) UpdateStreamForbidden ¶
func (c *LiveAPIClient) UpdateStreamForbidden(request *model.UpdateStreamForbiddenRequest) (*model.UpdateStreamForbiddenResponse, error)
修改禁推属性
func (*LiveAPIClient) UpdateTranscodingsTemplate ¶
func (c *LiveAPIClient) UpdateTranscodingsTemplate(request *model.UpdateTranscodingsTemplateRequest) (*model.UpdateTranscodingsTemplateResponse, error)
修改直播转码模板
Click to show internal directories.
Click to hide internal directories.