Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Memo ¶
type Memo struct { ID int32 `json:"id"` CreatorID int32 `json:"creatorId"` CreatedTs int64 `json:"createdTs"` UpdatedTs int64 `json:"updatedTs"` // Domain specific fields Content string `json:"content"` Visibility string `json:"visibility"` Pinned bool `json:"pinned"` ResourceList []*Resource `json:"resourceList"` RelationList []*MemoRelation `json:"relationList"` }
type MemoRelation ¶
type Resource ¶
type Resource struct { ID int32 `json:"id"` UID string `json:"uid"` // Standard fields CreatorID int32 `json:"creatorId"` CreatedTs int64 `json:"createdTs"` UpdatedTs int64 `json:"updatedTs"` // Domain specific fields Filename string `json:"filename"` InternalPath string `json:"internalPath"` ExternalLink string `json:"externalLink"` Type string `json:"type"` Size int64 `json:"size"` }
type WebhookPayload ¶
type WebhookPayload struct { URL string `json:"url"` ActivityType string `json:"activityType"` CreatorID int32 `json:"creatorId"` CreatedTs int64 `json:"createdTs"` Memo *Memo `json:"memo"` }
WebhookPayload is the payload of webhook request. nolint
type WebhookResponse ¶
WebhookResponse is the response of webhook request. nolint
Click to show internal directories.
Click to hide internal directories.