Skip to content

TsvetanMilanov/go-graceful-server-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-graceful-server-shutdown

Go package which gracefully stops servers

GoDoc code-coverage Go Report Card Go Create Release

Quick Start

// Create server based on the provided handler.
// The server will listen on port 8080 and there will be
// no timeout for the connection draining.
// StartServer will block the program execution until the server is closed.
err := gss.StartServer(http.DefaultServeMux)

About

Go package which gracefully stops servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages