go-pingbot/config.schema.toml
Medzik 3432a74d23 feat: Add Cache URLs and Database config from toml file
- Added Cache URLs from Database
- and Database Name and Collection set from toml config file
2021-08-11 10:35:51 +00:00

21 lines
502 B
TOML

[http]
enabled=true # Enable Website
port=8080 # Port to listen
[backend]
enabled=true # Enable Backend
ping=3 # Ping every three minutes
cache=5 # Get urls from db every five url pings
[autoupdate]
enabled=true # Enable Auto Updater
check=2 # Check every two minutes
[cluster]
id=1 # Cluster ID
node=1 # Node ID
[mongodb]
database="PingBot" # MongoDB Database Name
collection="URL" # MongoDB Collection Name