https://github.com/aleroxac/goexpert-gracefullshutdown
goexpert-gracefullshutdown
https://github.com/aleroxac/goexpert-gracefullshutdown
fullcycle go goexpert golang graceful-shutdown
Last synced: 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-20T14:35:00.000Z (about 1 year ago)
- Last Synced: 2025-01-16T16:23:38.814Z (4 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
```