status-go/geth/common/notification.go

12 lines
336 B
Go
Raw Normal View History

package common
import "github.com/NaySoftware/go-fcm"
2017-10-11 13:51:43 +00:00
// Notifier manages Push Notifications.
type Notifier interface {
Send(body string, payload fcm.NotificationPayload, tokens ...string) error
}
2017-10-12 14:31:39 +00:00
2017-10-18 20:17:40 +00:00
// NotificationConstructor returns constructor of configured instance Notifier interface.
type NotificationConstructor func() Notifier