Documentation ¶
Index ¶
- func GetRawContent(content_id string) (*http.Response, error)
- func PostContent_SignatureStr(...) (string, *dtcpv1.ContentPost, error)
- type GetContentResponse
- type PostContentResponse
- func PostContent_Aritcle(signature string, preObj *dtcpv1.ContentPost) (*PostContentResponse, error)
- func PostContent_ImageMultipartForm(signature string, preObj *dtcpv1.ContentPost, imgPath string) (*PostContentResponse, error)
- func PostContent_ImageUrlencoded(signature string, preObj *dtcpv1.ContentPost) (*PostContentResponse, error)
- type PostContentResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetContentResponse ¶
type GetContentResponse struct { core.Response Data *dtcpv1.ContentGet `json:"data"` }
func GetContentMetadata ¶
func GetContentMetadata(content_id string) (*GetContentResponse, error)
type PostContentResponse ¶
type PostContentResponse struct { core.Response Data *PostContentResult `json:"data"` }
func PostContent_Aritcle ¶
func PostContent_Aritcle(signature string, preObj *dtcpv1.ContentPost) (*PostContentResponse, error)
func PostContent_ImageMultipartForm ¶
func PostContent_ImageMultipartForm(signature string, preObj *dtcpv1.ContentPost, imgPath string) (*PostContentResponse, error)
func PostContent_ImageUrlencoded ¶
func PostContent_ImageUrlencoded(signature string, preObj *dtcpv1.ContentPost) (*PostContentResponse, error)
type PostContentResult ¶
Click to show internal directories.
Click to hide internal directories.