aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-08 14:45:56 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-08 14:45:56 +0000
commit2ac280ccd497f36caee2038fa1a2bcf29f9f9931 (patch)
tree80d686cce9f6b5629a70dfcdfc967fa59a55cf53
parentfdcf534c7b0fbb3cdc511cf9f26f16cf677994a6 (diff)
downloadcommunique-2ac280ccd497f36caee2038fa1a2bcf29f9f9931.tar.gz
remove unused rpc flag
-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"