diff options
author | 2021-10-17 20:05:04 -0600 | |
---|---|---|
committer | 2021-10-17 20:38:02 -0600 | |
commit | 6d08d74c58ff78f02d438e21505f28ca823905ca (patch) | |
tree | f2110bf4038d869e59f81cf4af8d55e2a8ef022f /cmd/wurgurboo/main.go | |
parent | wurgurboo: add wireguard-nt monitoring (diff) | |
download | irc-go-master.tar.xz irc-go-master.zip |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cmd/wurgurboo/main.go')
-rw-r--r-- | cmd/wurgurboo/main.go | 2 |
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) |