aboutsummaryrefslogtreecommitdiff
path: root/sample-config.toml
blob: d72468979d17ac344b0305daf24ebb242db0eee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
domain = "http://localhost:8080"
dbPath = "bub.db"

[[handlers]]
name = "sample"
rpc = "cgi" # rename to protocol?
exec = "sample-cgi-handler.sh"
avatarUrl = "https://loremflickr.com/320/240/dog"
avatarContentType = "image/jpeg"
interval = "1h"
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"