mbdi

package
v0.9.41 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDynamicInformation

func CreateDynamicInformation(params *CreateDynamicInformationRequest) (string, error)

func Destroy

func Destroy()

func Init

func Init(baseUrl string, timeoutSec time.Duration)

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL