{"id":21409052,"url":"https://github.com/infoslack/go-check-host","last_synced_at":"2026-01-03T12:08:11.974Z","repository":{"id":140292545,"uuid":"110878340","full_name":"infoslack/go-check-host","owner":"infoslack","description":"Learning Go - app to check host status","archived":false,"fork":false,"pushed_at":"2017-11-15T19:50:27.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T04:28:15.543Z","etag":null,"topics":["example","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infoslack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-15T19:41:42.000Z","updated_at":"2017-11-18T03:09:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bb1b0ed-8129-4a5e-92b9-6ddb3210ebf6","html_url":"https://github.com/infoslack/go-check-host","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infoslack%2Fgo-check-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infoslack%2Fgo-check-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infoslack%2Fgo-check-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infoslack%2Fgo-check-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infoslack","download_url":"https://codeload.github.com/infoslack/go-check-host/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243906663,"owners_count":20367075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","golang"],"created_at":"2024-11-22T17:21:28.674Z","updated_at":"2026-01-03T12:08:11.934Z","avatar_url":"https://github.com/infoslack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"check status host\n=================\nLearning Go - This example checks host status\n\n### Build \u0026 Run\n```\n$ go build monit.go\n```\nSave the address of the hosts you want to monitor in `hosts.txt` and run:\n```\n$ echo \"https://infoslack.pro\" \u003e\u003e hosts.txt\n$ ./monit\nMonitoring...\nCheck https://infoslack.com\nhttps://infoslack.com OK\nCheck https://infoslack.pro\nhttps://infoslack.pro OK\n^C\n```\nPress `ctrl+c` to stop.\n\n### Logs\nLogs are stored in status.log\n```\n$ tail status.log \nNov 15 16:49:18 - https://infoslack.com - online: true\nNov 15 16:49:19 - https://infoslack.pro - online: true\nNov 15 16:49:23 - https://infoslack.com - online: true\nNov 15 16:49:23 - https://infoslack.pro - online: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfoslack%2Fgo-check-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfoslack%2Fgo-check-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfoslack%2Fgo-check-host/lists"}