Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { // User who created this notification User *models.Users // TargetUID is the target user TargetUID int // Type of notification Type int // Description of notification Description string // // CommentID // CommentID uint // // MomentID // MomentID uint // // NewsID // NewsID uint }
Payload for sending notifications
Click to show internal directories.
Click to hide internal directories.