From 2ac280ccd497f36caee2038fa1a2bcf29f9f9931 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 8 Jan 2023 09:45:56 -0500 Subject: remove unused rpc flag --- config/config.go | 1 - sample-config.toml | 3 --- 2 files changed, 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" -- cgit v1.2.3