watchtower/pkg/types/notifier.go
nils måsén e3dd8d688a
Session report collection and report templates (#981)
* 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
2021-06-27 09:05:01 +02:00

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()
}