You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
308 B
Go
15 lines
308 B
Go
6 years ago
|
package core
|
||
6 years ago
|
|
||
|
type AbstractNotifier interface {
|
||
|
GetName() string
|
||
|
SetupTransport(config interface{}) error
|
||
|
AddNotifications(notifications []Notification) error
|
||
|
SendNotifications() error
|
||
|
}
|
||
|
|
||
|
type Notification struct {
|
||
|
}
|
||
|
|
||
|
// TODO: multiple transports? one transport per event? (??)
|
||
|
type SlackConfig struct{}
|