Open unkaktus opened 7 years ago
In Go 1.8 we have it now: https://golang.org/pkg/net/http/#Server.Shutdown
Probably it's better to do GS when app is killed. With confirmation.
Do timeout then cut? Or count if 'everything' was downloaded?
In Go 1.8 we have it now: https://golang.org/pkg/net/http/#Server.Shutdown