aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/wurgurboo/main.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-10-17 20:05:04 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-10-17 20:38:02 -0600
commit6d08d74c58ff78f02d438e21505f28ca823905ca (patch)
treef2110bf4038d869e59f81cf4af8d55e2a8ef022f /cmd/wurgurboo/main.go
parentwurgurboo: add wireguard-nt monitoring (diff)
downloadirc-go-master.tar.xz
irc-go-master.zip
wurgurboo: add nt-driver-builder notificationsHEADmaster
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cmd/wurgurboo/main.go')
-rw-r--r--cmd/wurgurboo/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/wurgurboo/main.go b/cmd/wurgurboo/main.go
index e1a705d..1011bd7 100644
--- a/cmd/wurgurboo/main.go
+++ b/cmd/wurgurboo/main.go
@@ -66,6 +66,8 @@ func main() {
Condition: func(b *hbot.Bot, m *hbot.Message) bool { return m.Command == "PRIVMSG" },
Action: banter.Handle,
})
+ ntDriverBuilderNotifier := NewNtDriverBuilderNotifier(channel, bot)
+ http.HandleFunc("/nt-driver-builder-notify", ntDriverBuilderNotifier.HandleRequest)
c := make(chan os.Signal, 1)
signal.Notify(c, syscall.SIGINT, syscall.SIGTERM)