content_interaction

package
Version: v0.0.0-...-d4762d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostCommentOfGroupshare_SignatureStr

func PostCommentOfGroupshare_SignatureStr(account_id, share_id, sub_account_id, sub_account_name string,
	hp, created int, parent_comment_id, content string) (string, *dtcpv1.ContentCommentPost, error)

func PostLikeOfGroupshare_SignatureStr

func PostLikeOfGroupshare_SignatureStr(account_id, share_id, sub_account_id, sub_account_name string,
	hp, created int) (string, *dtcpv1.ContentLikePost, error)

Types

type GetCommentsGroupshareResponse

type GetCommentsGroupshareResponse struct {
	core.Response
	Data []dtcpv1.ContentCommentGet `json:"data"`
}

func GetCommentsOfGroupshare

func GetCommentsOfGroupshare(share_id, account_id string, page, pageSize int) (*GetCommentsGroupshareResponse, error)

type GetLikesGroupshareResponse

type GetLikesGroupshareResponse struct {
	core.Response
	Data []dtcpv1.ContentLikeGet `json:"data"`
}

func GetLikesOfGroupshare

func GetLikesOfGroupshare(share_id, account_id string, page, pageSize int) (*GetLikesGroupshareResponse, error)

type GetReplyCommentsResponse

type GetReplyCommentsResponse struct {
	core.Response
	Data []dtcpv1.ContentCommentGet `json:"data"`
}

func GetReplyComments

func GetReplyComments(comment_id string) (*GetReplyCommentsResponse, error)

type GetShareGroupshareResponse

type GetShareGroupshareResponse struct {
	core.Response
	Data []dtcpv1.Share `json:"data"`
}

func GetSharesOfGroupShare

func GetSharesOfGroupShare(share_id, account_id string, page, pageSize int) (*GetShareGroupshareResponse, error)

type GetShareMetadataResponse

type GetShareMetadataResponse struct {
	core.Response
	Data *dtcpv1.Share `json:"data"`
}

func GetShareMetadata

func GetShareMetadata(share_id, account_id string) (*GetShareMetadataResponse, error)

type PostCommentGroupshareResponse

type PostCommentGroupshareResponse struct {
	core.Response
	Data *PostCommentGroupshareResult `json:"data"`
}

func PostCommentOfGroupshare

func PostCommentOfGroupshare(signature string, preObj *dtcpv1.ContentCommentPost) (*PostCommentGroupshareResponse, error)

type PostCommentGroupshareResult

type PostCommentGroupshareResult struct {
	Id  string `json:"id"`  // Comment id.
	Dna string `json:"dna"` // Comment dna.
}

type PostLikeGroupshareResponse

type PostLikeGroupshareResponse struct {
	core.Response
	Data *PostLikeGroupshareResult `json:"data"`
}

func PostLikeOfGroupshare

func PostLikeOfGroupshare(signature string, preObj *dtcpv1.ContentLikePost) (*PostLikeGroupshareResponse, error)

type PostLikeGroupshareResult

type PostLikeGroupshareResult struct {
	Id  string `json:"id"`  // Like id.
	Dna string `json:"dna"` // Like dna.
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL