paint-brush
How to safely shutdown a server in Goby@arriqaaq
8,720 reads
8,720 reads

How to safely shutdown a server in Go

by Farhan Ali Khan2mJune 21st, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The <a href="https://golang.org/pkg/net/http" target="_blank"><strong>net/http</strong></a><strong> </strong>is one of the most important packages in Go. Almost every microservice written uses this default <a href="https://hackernoon.com/tagged/http" target="_blank">http</a> package to run their servers. It takes a few lines of code to start a simple <a href="https://hackernoon.com/tagged/http" target="_blank">http</a> server.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to safely shutdown a server in Go
Farhan Ali Khan HackerNoon profile picture
Farhan Ali Khan

Farhan Ali Khan

@arriqaaq

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Updownsite