go-pingbot/config.schema.toml

20 lines
607 B
TOML
Raw Permalink Normal View History

2021-07-29 18:51:15 +00:00
[http]
enabled=true # Enable Website
port=8080 # Port to listen
2021-07-29 18:51:15 +00:00
[backend]
enabled=true # Enable Backend
ping=3 # Ping every three minutes
2021-07-29 18:51:15 +00:00
[autoupdate]
enabled=true # Enable Auto Updater
check=2 # Check every two minutes
2021-07-29 18:51:15 +00:00
[mongodb]
database="PingBot" # MongoDB Database Name
collection="URL" # MongoDB Collection Name
2021-08-29 10:14:35 +00:00
[options]
stop_after_ping=false # Stop after all pings
stop_after_ping_timeout=120 # If not pinget or other options stop program after 120 (default) seconds