status-go/geth/notification/fcm/client.go

10 lines
322 B
Go
Raw Normal View History

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