aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/config.go1
-rw-r--r--sample-config.toml3
2 files changed, 0 insertions, 4 deletions
diff --git a/config/config.go b/config/config.go
index 62e7136..5fc1cca 100644
--- a/config/config.go
+++ b/config/config.go
@@ -18,7 +18,6 @@ type Handler struct {
AvatarUrl string
AvatarContentType string
Exec string
- Rpc string
Summary string
DedupWindow time.Duration
Interval time.Duration
diff --git a/sample-config.toml b/sample-config.toml
index fc7bee3..efca391 100644
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -3,7 +3,6 @@ dbPath = "bub.db"
[[handlers]]
name = "sample"
-rpc = "cgi" # rename to protocol?
exec = "sample-cgi-handler.sh"
summary = "sample bot"
interval = "1h"
@@ -11,13 +10,11 @@ dedupWindow = "5h"
# [[handlers]]
# name = "autosport"
-# rpc = "cgi" # rename to protocol?
# exec = "autosport-handler.sh"
# interval = "10m"
# dedupWindow = "900h"
# [[handlers]]
# name = "another"
-# rpc = "cgi"
# exec = "another-cgi-handler.sh"
# intervalSeconds = "10"