Feature/get bank info #23

Closed
nguyenphamquangtue wants to merge 57 commits from feature/get-bank-info into master
3 changed files with 30 additions and 0 deletions
Showing only changes of commit 36ad0b4972 - 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"`
}