Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.