mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 22:20:12 +01:00
* wip: notification stats * make report notifications optional * linting/documentation fixes * linting/documentation fixes * merge types.Container and container.Interface * smaller naming/format fixes * use typed image/container IDs * simplify notifier and update tests * add missed doc comments * lint fixes * remove unused constructors * rename old/new current/latest
9 lines
195 B
Go
9 lines
195 B
Go
package types
|
|
|
|
// Notifier is the interface that all notification services have in common
|
|
type Notifier interface {
|
|
StartNotification()
|
|
SendNotification(Report)
|
|
GetNames() []string
|
|
Close()
|
|
}
|