Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-29T07:12:43.000Z (about 9 years ago)
- Last Synced: 2024-04-14T15:44:20.231Z (7 months ago)
- Topics: golang, http, web
- Language: Go
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- 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.