Versions in this module Expand all Collapse all v0 v0.3.0 Feb 24, 2020 v0.2.0 Feb 24, 2020 Changes in this version type Settings + ShutdownChannel chan bool v0.1.0 Feb 23, 2020 Changes in this version + const DefaultAddr + const DefaultShutdownTimeoutSeconds + var DefaultSignalsToWatch = []os.Signal + func StartCustomServerWithSettings(srv *http.Server, settings *Settings) error + func StartServer(router http.Handler) error + func StartServerWithSettings(router http.Handler, settings *Settings) error + type Settings struct + Addr string + ShutdownTimeoutSeconds *int64 + SignalsToWatch []os.Signal