2017-10-22 20:39:56 +03:00

10 lines
322 B
Go

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
}