## 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
-
Notifications
You must be signed in to change notification settings - Fork 0
goexpert-gracefullshutdown
aleroxac/goexpert-gracefullshutdown
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
goexpert-gracefullshutdown
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published