Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleroxac/goexpert-gracefullshutdown
goexpert-gracefullshutdown
https://github.com/aleroxac/goexpert-gracefullshutdown
fullcycle go goexpert golang graceful-shutdown
Last synced: about 2 months ago
JSON representation
goexpert-gracefullshutdown
- Host: GitHub
- URL: https://github.com/aleroxac/goexpert-gracefullshutdown
- Owner: aleroxac
- Created: 2024-04-20T14:34:36.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T14:35:00.000Z (9 months ago)
- Last Synced: 2024-06-19T04:27:42.832Z (7 months ago)
- Topics: fullcycle, go, goexpert, golang, graceful-shutdown
- Language: Go
- Homepage: https://github.com/aleroxac/goexpert-gracefullshutdown
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# goexpert-gracefullshutdown
## Modo de uso
``` shell
## 1. terminal-01: rode o server
go run main.go## 2. terminal-02: chame a api
curl http://localhost:8080## 3. terminal-01: pare o server
ctrl+c## 4. terminal-02: veja que mesmo com o shutdown do server, a resposta ainda é entregue
```