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 16:51:43 +03:00
// Notifier manages Push Notifications.
type Notifier interface {
Send(body string, payload fcm.NotificationPayload, tokens ...string) error
}
2017-10-12 17:31:39 +03:00
2017-10-18 23:17:40 +03:00
// NotificationConstructor returns constructor of configured instance Notifier interface.
type NotificationConstructor func() Notifier