https://github.com/cbess/gowebwatch
Go app that watches web resources for HTTP status changes.
https://github.com/cbess/gowebwatch
golang http web
Last synced: 4 months ago
JSON representation
Go app that watches web resources for HTTP status changes.
- Host: GitHub
- URL: https://github.com/cbess/gowebwatch
- Owner: cbess
- Created: 2015-08-29T05:33:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-29T07:12:43.000Z (over 10 years ago)
- Last Synced: 2025-10-13T03:26:14.863Z (4 months ago)
- Topics: golang, http, web
- Language: Go
- Homepage:
- Size: 145 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webwatch
Sample Go app that watches web resources for HTTP status changes.
This will watch a remote resource at a specified URL, printing the status of it as it polls the resource.
## Config
This app uses [viper](https://godoc.org/github.com/spf13/viper) for the config. The name and URLs are expected to be set within the config.
Sample Config (yaml) - `~/tmp/test.yml`:
```yaml
name: Test Name
urls:
- http://localhost:8000/
- http://localhost:8001/
```
### Purpose
1. Exercise golang skills. More advanced sample code.
2. Check the existence of web resources.
2. Prime web app caches.
3. Maybe more soon.