robinryden / go-track

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

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

Run

go run main.go

About

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


Languages

Language:Go 100.0%