Documentation ¶
Index ¶
- func CreateDynamicInformation(params *CreateDynamicInformationRequest) (string, error)
- func Destroy()
- func Init(baseUrl string, timeoutSec time.Duration)
- type CreateDynamicInformationRequest
- type CreateDynamicInformationResponse
- type DeleteDynamicInformationResponse
- type DynamicInformationInfo
- type GetDynamicInformationQuery
- type GetDynamicInformationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDynamicInformation ¶
func CreateDynamicInformation(params *CreateDynamicInformationRequest) (string, error)
Types ¶
type CreateDynamicInformationRequest ¶
type CreateDynamicInformationRequest struct { Action uint8 `json:"action"` TargetId string `json:"targetId"` TargetCardType uint8 `json:"targetCardType" ` TargetCardId string `json:"targetCardId" ` CreatorId string `json:"creatorId"` CreatorType uint8 `json:"creatorType" ` CreatorCardId string `json:"creatorCardId" ` CDate string `json:"cDate"` ExtInfo string `json:"extInfo"` IsRead uint8 `json:"isRead"` }
type CreateDynamicInformationResponse ¶
type CreateDynamicInformationResponse struct { ID string `json:"id"` // contains filtered or unexported fields }
type DeleteDynamicInformationResponse ¶
type DeleteDynamicInformationResponse struct {
// contains filtered or unexported fields
}
type DynamicInformationInfo ¶
type DynamicInformationInfo struct { ID string `json:"id"` Action uint8 `json:"action"` TargetId string `json:"targetId"` TargetCardType uint8 `json:"targetCardType"` TargetCardId string `json:"TargetCardId"` CreatorId string `json:"creatorId"` CreatorType uint8 `json:"creatorType"` CreatorCardId string `json:"creatorCardId"` CDate string `json:"cDate"` ExtInfo string `json:"extInfo"` IsRead uint8 `json:"isRead"` }
func GetDynamicInformation ¶
func GetDynamicInformation(params *GetDynamicInformationQuery) ([]DynamicInformationInfo, int64, error)
type GetDynamicInformationQuery ¶
type GetDynamicInformationQuery struct { ID string `form:"id"` Action uint8 `form:"action"` TargetId string `form:"targetId"` TargetCardType uint8 `form:"targetCardType"` TargetCardId string `form:"targetCardId"` CreatorId string `form:"creatorId"` CreatorType uint8 `form:"creatorType"` CreatorCardId string `form:"creatorCardId"` CDate string `form:"cDate"` ExtInfo string `form:"extInfo"` IsRead uint8 `form:"isRead"` PageNo int `form:"pageNo"` PageSize int `form:"pageSize"` }
type GetDynamicInformationResponse ¶
type GetDynamicInformationResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []DynamicInformationInfo `json:"infos"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.