Documentation ¶
Index ¶
- Variables
- func Decrypt(value string) ([]byte, string)
- func Encrypt(value string) string
- func Execute(url string, param Parameter) (json *simplejson.Json, err error)
- func Get(url string, args map[string]string) (result []byte, err error)
- func GetErrorMsg(code int) string
- func NewError(buf []byte) error
- func Post(url, contentType string, args map[string]string) (result string, err error)
- func PostJSON(url string, jsonObject interface{}) (result []byte, err error)
- func Upload(uri, filename string, description *VideoDescription, srcFile io.Reader) (result []byte, err error)
- type CDATA
- type JSONer
- type Parameter
- type VideoDescription
- type XMLer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AppID 应用Key AppID = "" // AppSecret 秘密 AppSecret = "" )
Functions ¶
func Execute ¶
func Execute(url string, param Parameter) (json *simplejson.Json, err error)
Execute 执行
Types ¶
type VideoDescription ¶
type VideoDescription struct { Title string `json:"title"` // 视频素材的标题 Introduction string `json:"introduction"` // 视频素材的描述 }
VideoDescription 视频描述
Click to show internal directories.
Click to hide internal directories.