go-graceful-server-shutdown

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: Apache-2.0

README

go-graceful-server-shutdown

Go package which gracefully stops servers

GoDoc code-coverage 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL