Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chapsuk/grace
Shutdown context go package
https://github.com/chapsuk/grace
Last synced: 3 months ago
JSON representation
Shutdown context go package
- Host: GitHub
- URL: https://github.com/chapsuk/grace
- Owner: chapsuk
- License: mit
- Created: 2017-12-03T13:09:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T08:00:51.000Z (almost 6 years ago)
- Last Synced: 2024-06-19T02:03:07.234Z (7 months ago)
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grace
[![Build Status](https://travis-ci.org/chapsuk/grace.svg?branch=master)](https://travis-ci.org/chapsuk/grace)
[![GoDoc](https://img.shields.io/badge/GoDoc-Reference-blue.svg
)](https://godoc.org/github.com/chapsuk/grace)
[![codecov](https://codecov.io/gh/chapsuk/grace/branch/master/graph/badge.svg)](https://codecov.io/gh/chapsuk/grace)Package grace implements set of helper functions around `syscal.Signals`
for gracefully shutdown and reload (micro|macro|nano) services.```bash
go get -u github.com/chapsuk/grace
```No breaking changes, follows SemVer strictly.
## Testing
```go
go test -v -cover ./...
```