github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/live/resume_live_stream.go (about) 1 package live 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 恢复直播流 8 // https://cloud.tencent.com/document/api/267/20467 9 10 type ResumeLiveStreamRequest struct { 11 // 应用名称。 12 AppName string `name:"AppName"` 13 // 您的加速域名。 14 DomainName string `name:"DomainName"` 15 // 区域 16 Region string `name:"Region"` 17 // 流名称。 18 StreamName string `name:"StreamName"` 19 } 20 21 func (req *ResumeLiveStreamRequest) Invoke(client github_com_morlay_goqcloud.Client) (*ResumeLiveStreamResponse, error) { 22 resp := &ResumeLiveStreamResponse{} 23 err := client.Request("live", "ResumeLiveStream", "2018-08-01").Do(req, resp) 24 return resp, err 25 } 26 27 type ResumeLiveStreamResponse struct { 28 github_com_morlay_goqcloud.TencentCloudBaseResponse 29 }