13 lines
342 B
Go
13 lines
342 B
Go
package fcm
|
|
|
|
import (
|
|
gofcm "github.com/NaySoftware/go-fcm"
|
|
)
|
|
|
|
// 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
|
|
}
|