Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```