hotalert/alert/alert.go

10 lines
243 B
Go
Raw Normal View History

2022-11-03 20:04:14 +00:00
package alert
import "context"
// Alerter is an interface for implementing alerts on various channels
type Alerter interface {
// PostAlert posts the alert with the given message.
PostAlert(ctx context.Context, matchedKeywords []string)
}