Feature/get bank info #23
|
@ -0,0 +1,8 @@
|
|||
package jestream
|
||||
|
||||
// StreamConfig ...
|
||||
var StreamConfig = struct {
|
||||
Notification string
|
||||
}{
|
||||
Notification: "Service_Notification",
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package jestream
|
||||
|
||||
// SubjectNotification ...
|
||||
var SubjectNotification = struct {
|
||||
PushNotifications string
|
||||
}{
|
||||
PushNotifications: "selly.pull.notification.push_notifications",
|
||||
}
|
|
@ -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"`
|
||||
}
|
Loading…
Reference in New Issue