Feature/seller by #38

Merged
milano15662 merged 16 commits from feature/seller-by-id into master 2022-10-03 03:48:13 +00:00
3 changed files with 30 additions and 0 deletions
Showing only changes of commit b718162cd4 - Show all commits

8
jestream/config.go Normal file
View File

@ -0,0 +1,8 @@
package jestream
// StreamConfig ...
var StreamConfig = struct {
Notification string
}{
Notification: "Service_Notification",
}

8
jestream/notification.go Normal file
View File

@ -0,0 +1,8 @@
package jestream
// SubjectNotification ...
var SubjectNotification = struct {
PushNotifications string
}{
PushNotifications: "selly.pull.notification.push_notifications",
}

View File

@ -0,0 +1,14 @@
package model
// PayloadPushNotification ...
type PayloadPushNotification struct {
User string `json:"user"`
Type string `json:"type"`
TargetId string `json:"targetId"`
IsFromAdmin bool `json:"isFromAdmin"`
Category string `json:"category"`
Options struct {
Title string `json:"title"`
Content string `json:"content"`
} `json:"options"`
}