send a ping to a URL on the web
| .idea | Add first version of the program | |
| src | Add first version of the program | |
| .gitignore | Add first version of the program | |
| Cargo.lock | Add first version of the program | |
| Cargo.toml | Add first version of the program | |
| LICENSE | Initial commit | |
| README.md | Add first version of the program | |
webping
send a ping to a URL on the web
Config
The program expects a TOML config file called "config.toml" in the same directory as from where the program is run.
Mandatory keys:
- remote_url (string)
Optional keys:
- hostname (string) - defaults to "unnamed_host"
- valid characters: alphanumeric, dashes, underscores
- ping_frequency_secs (u64) - defaults to 600 (10 minutes)
- request_timeout_secs (u64) - defaults to 10
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.