roy1210 / http-status-checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP status checker

Description

Check the current status of website. Able to detect if website is downed due to http request returns 404.

DEMO:

Usage

open main.go and add URL for status checking website in links slice.

func main() {
	// add URL for checking website in bellow.
	links := []string{
		"http://google.com",
		"http://!404!facebook.com",
		"http://stackoverflow.com",
		"http://golang.org",
		"http://amazon.com",
	}

then run: $ run main.go

Requirement

  • Golang

Licence

MIT

Author

Shoe Kure

About

License:MIT License


Languages

Language:Go 100.0%