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