{"id":42147508,"url":"https://github.com/exfly/gracefully","last_synced_at":"2026-01-26T17:59:14.834Z","repository":{"id":57492579,"uuid":"188504803","full_name":"exfly/gracefully","owner":"exfly","description":"go gracefully shutdown","archived":false,"fork":false,"pushed_at":"2019-05-25T02:14:51.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T10:03:44.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exfly.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":"2019-05-25T01:01:07.000Z","updated_at":"2020-10-21T04:15:42.000Z","dependencies_parsed_at":"2022-08-28T11:51:38.272Z","dependency_job_id":null,"html_url":"https://github.com/exfly/gracefully","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/exfly/gracefully","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fgracefully","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fgracefully/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fgracefully/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fgracefully/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exfly","download_url":"https://codeload.github.com/exfly/gracefully/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fgracefully/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28784092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2026-01-26T17:59:13.748Z","updated_at":"2026-01-26T17:59:14.826Z","avatar_url":"https://github.com/exfly.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gracefully [![Build Status](https://travis-ci.com/exfly/gracefully.svg?branch=master)](https://travis-ci.com/exfly/gracefully) [![GoDoc](https://godoc.org/github.com/exfly/gracefully?status.svg)](https://godoc.org/github.com/exfly/gracefully)\n\ngo app gracefully shutdown utils. This project is split from k8s, I want to do some progress here.\n\n## Getting Started\n\n```go\nvar stopCh = gracefully.SetupSignalHandler()\ngo func() {\n    for {\n        log.Println(\"alive...\")\n        time.Sleep(1 * time.Second)\n    }\n}()\n\u003c-stopCh\nlog.Println(\"gracefully shutdown\")\n```\n\n### Installing\n\n```sh\ngo get -u github.com/exfly/gracefully\n```\n\n## Deployment\n\nThis project is forked form k8s.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/exfly/gracefully/tags).\n\n## Authors\n\n- **exfly** - _Initial work_ - [exfly](https://github.com/exfly)\n\n## License\n\nThis project is licensed under the Apache v2 License - see the [LICENSE.md](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfly%2Fgracefully","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexfly%2Fgracefully","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfly%2Fgracefully/lists"}