{"id":45342584,"url":"https://github.com/woosley/gogate","last_synced_at":"2026-02-21T10:33:48.674Z","repository":{"id":57525660,"uuid":"102058631","full_name":"woosley/gogate","owner":"woosley","description":"Report current server facts json to master","archived":false,"fork":false,"pushed_at":"2019-07-25T05:38:02.000Z","size":27,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T04:08:30.037Z","etag":null,"topics":["cmdb","infrastructure"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woosley.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T00:56:50.000Z","updated_at":"2024-12-25T15:59:19.000Z","dependencies_parsed_at":"2022-08-28T20:22:05.858Z","dependency_job_id":null,"html_url":"https://github.com/woosley/gogate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woosley/gogate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosley%2Fgogate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosley%2Fgogate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosley%2Fgogate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosley%2Fgogate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woosley","download_url":"https://codeload.github.com/woosley/gogate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosley%2Fgogate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmdb","infrastructure"],"created_at":"2026-02-21T10:33:48.554Z","updated_at":"2026-02-21T10:33:48.670Z","avatar_url":"https://github.com/woosley.png","language":"Go","readme":"# gogate\nReport server/service status. This is not just another metrics system, it is\njust a tool to reflect your current infrastructure facts without effort\n\n# when to use it?\n\n- When you have a horriable infrastructure, you may find this useful. \n- When you have a good infrastructure, and a CMDB to control the `desired status`, you can still have it to serve as an view to `current status`.\n \n# status\n\nwork in progress\n\n# run\n \n```\ngo install github.com/woosley/gogate\ngogate -h\n```\n\nsample\n\n```\n[root@localhost gogate]# gogate --is-master --key ip\nhttp server started on [::]:1234\n\n[root@localhost gogate]# http http://localhost:1234/self\nHTTP/1.1 200 OK\nContent-Length: 264\nContent-Type: application/json; charset=UTF-8\nDate: Mon, 28 Aug 2017 08:36:32 GMT\n\n{\n    \"Hostname\": \"localhost\",\n    \"Interfaces\": [\n,,,,,\n\n\n[root@localhost gogate]# http http://localhost:1234/\nHTTP/1.1 200 OK\nContent-Length: 278\nContent-Type: application/json; charset=UTF-8\nDate: Mon, 28 Aug 2017 08:36:36 GMT\n\n{\n    \"10.0.2.15\": {\n        \"Hostname\": \"localhost\",\n\n```\n# design\n\nloop forever to report status of the server\n\n- GET /: Redirect to master on node; Return all nodes on master\n- GET /self: current node status\n- POST /: Not allowed on node; Create new record on master\n- GET /health: show health status json\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoosley%2Fgogate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoosley%2Fgogate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoosley%2Fgogate/lists"}