Discover Packages
github.com/BPing/aliyun-live-go-sdk
command
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 25, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0 modules, 0 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.
Opens a new window with list of known importers.
README
README
¶
aliyun-live-go-sdk
阿里云直播 golang SDK
快速开始
package main
import (
"aliyun-live-go-sdk/client"
"aliyun-live-go-sdk/device/live"
"aliyun-live-go-sdk/util"
"time"
"fmt"
)
const (
AccessKeyId = "<Yours' Id>"
AccessKeySecret = "<...>"
)
func main() {
cert := client.NewCredentials(AccessKeyId, AccessKeySecret)
live := live.NewLive(cert, "<Yours' CDN>", "app-name").SetDebug(true)
resp := make(map[string]interface{})
live.StreamsPublishList(time.Now().Add(-time.Hour * 12), time.Now(), &resp)
fmt.Println(resp)
}
构建安装
go get:
go get github.com/BPing/aliyun-live-go-sdk
贡献参与者
License
这个项目是采用 Apache License, Version 2.0 许可证授权原则。
参考文献
参考项目: https://github.com/denverdino/aliyungo
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
device
live
阿里云直播API 文档信息:https://help.aliyun.com/document_detail/27191.html?spm=0.0.0.0.60u2Ny @author cbping
阿里云直播API 文档信息:https://help.aliyun.com/document_detail/27191.html?spm=0.0.0.0.60u2Ny @author cbping
Click to show internal directories.
Click to hide internal directories.