Building out notification update channels
Some checks are pending
check / check (push) Waiting to run

This commit is contained in:
KS Jannette
2026-03-01 03:23:08 -05:00
parent d07dc971fe
commit c494bf5f53
18 changed files with 1282 additions and 187 deletions

View File

@@ -58,7 +58,10 @@ func main() {
notifConfigModel := models.NewNotificationConfigModel(pool)
observer := services.NewObserverService(eth, addressModel, checkpointModel)
evaluator := services.NewEvaluatorService(eth, alertRuleModel, alertEventModel, addressModel, notifConfigModel)
evaluator := services.NewEvaluatorService(
eth, alertRuleModel, alertEventModel, addressModel, notifConfigModel,
cfg.ResendAPIKey, cfg.EmailFrom,
)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()