7 lines
92 B
Bash
7 lines
92 B
Bash
$ go build graceful-shutdown.go
|
|
$ ./graceful-shutdown
|
|
|
|
$ curl -i http://127.0.0.1:5000/
|
|
|
|
^C
|