blob: cb342e50c56de0a952f52c469c8112eae112efbb (
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
ImageURL string
BundleID string // For darwin
ToastPath string // For windows (Toaster)
}
// Notifier knows how to deliver a notification
type Notifier interface {
DeliverNotification(notification Notification) error
}
|