mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
12 lines
336 B
Go
12 lines
336 B
Go
package common
|
|
|
|
import "github.com/NaySoftware/go-fcm"
|
|
|
|
// Notifier manages Push Notifications.
|
|
type Notifier interface {
|
|
Send(body string, payload fcm.NotificationPayload, tokens ...string) error
|
|
}
|
|
|
|
// NotificationConstructor returns constructor of configured instance Notifier interface.
|
|
type NotificationConstructor func() Notifier
|