2017-10-11 13:51:43 +00:00
|
|
|
package fcm
|
|
|
|
|
|
|
|
import "github.com/NaySoftware/go-fcm"
|
|
|
|
|
2017-10-11 13:59:58 +00:00
|
|
|
// firebaseClient is a copy of "go-fcm" client methods.
|
|
|
|
type firebaseClient interface {
|
2017-10-11 13:51:43 +00:00
|
|
|
NewFcmRegIdsMsg(tokens []string, body interface{}) *fcm.FcmClient
|
|
|
|
Send() (*fcm.FcmResponseStatus, error)
|
|
|
|
SetNotificationPayload(payload *fcm.NotificationPayload) *fcm.FcmClient
|
2017-10-22 12:53:24 +00:00
|
|
|
}
|