Files
KS Jannette 2c86bba235
Some checks failed
check / check (push) Has been cancelled
general cleanup - removed old comments, enforced naming conventions etc
2026-03-04 23:29:58 -05:00

16 lines
312 B
Go

package notifications
import "context"
// AlertMetadata holds context about the alert being sent.
type AlertMetadata struct {
TxHash string
AddressLabel string
AlertType string
Address string
}
type Notifier interface {
Send(ctx context.Context, message string, meta AlertMetadata) error
}