feat: 添加通知

This commit is contained in:
2023-07-05 09:57:24 +08:00
parent a1a65e8928
commit 3ed3047e35
3 changed files with 88 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package main
import (
"context"
"github.com/codfrm/dnspod-watch/pkg/pushcat"
"log"
"github.com/codfrm/cago"
@ -19,6 +20,7 @@ func main() {
err = cago.New(ctx, cfg).
Registry(cago.FuncComponent(logger.Logger)).
Registry(pushcat.Pushcat()).
Registry(watch.Watch()).
Start()
if err != nil {