status-go/notifications/push/fcm/client.go

13 lines
342 B
Go
Raw Normal View History

2017-10-11 13:51:43 +00:00
package fcm
import (
gofcm "github.com/NaySoftware/go-fcm"
)
2017-10-11 13:51:43 +00:00
// FirebaseClient is a copy of "go-fcm" client methods.
type FirebaseClient interface {
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
}