package
0.0.0-20240302083306-b1775f943681
Repository: https://github.com/biely/douyinsdk.git
Documentation: pkg.go.dev
# Functions
DecodeWithError 将返回值按照解析.
HTTPGet get 请求.
HTTPGetContext get 请求.
HTTPPost post 请求.
HTTPPostContext post 请求.
NewCommonError 新建 CommonError 错误,对于无 errcode 和 errmsg 的返回也可以返回该通用错误.
PostFile 上传文件.
PostJSON post json 数据请求.
PostJSONContext post json 数据请求.
PostJSONWithRespContentType post json 数据请求,且返回数据类型.
PostMultipartForm 上传文件或其他多个字段.
PostXML perform a HTTP/POST request with XML body.
PostXMLWithTLS perform a HTTP/POST request with XML body and TLS.
SetURIModifier 设置URI修改器.
# Variables
DefaultHTTPClient 默认httpClient.
# Type aliases
URIModifier URI修改器.