blob: 35f3e0e59965e3badbd3af03180f50b91f068f9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2016 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.
package notifier
// Notification defines a notification
type Notification struct {
Title string
Message string
ImagePath string
BundleID string // For darwin
Actions []string // For darwin
ToastPath string // For windows (Toaster)
}
// Notifier knows how to deliver a notification
type Notifier interface {
DeliverNotification(notification Notification) error
}
|