Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/robinryden/go-track

URL monitor written in Go that integrates with Slack for notification purposes.
https://github.com/robinryden/go-track

go monitoring redis slack-notifications slack-webhook tracking

Last synced: about 1 month ago
JSON representation

URL monitor written in Go that integrates with Slack for notification purposes.

Awesome Lists containing this project

README

        

# go-track

URL monitor written in Go.

@TODO
> 1. Write tests
> 2. Get urls from a txt-file etc.

## Settings are set inside the .env file
```golang
SLACK_WEBHOOK_URL="https://hooks.slack.com/services/id"
REDIS_HOST="0.0.0.0"
REDIS_PASSWORD=""
```

## URL's to ping
For the moment it's located in main.go

```golang
urls = []string{"https://www.google.com/urldoesntexist", "https://www.google.com/"}
```

## Run
```golang
go run main.go
```