Package signals contains libraries for handling signals to gracefully shutdown the manager in combination with Kubernetes pod graceful termination policy.
Package grace use to hot reload Description: http://grisha.org/blog/2014/06/03/graceful-restart-in-golang/ Usage: import( "log" "net/http" "os" "github.com/astaxie/beego/grace" ) func handler(w http.ResponseWriter, r *http.Request) { w.Write([]byte("WORLD!")) } func main() { mux := http.NewServeMux() mux.HandleFunc("/hello", handler) err := grace.ListenAndServe("localhost:8080", mux) if err != nil { log.Println(err) } log.Println("Server on 8080 stopped") os.Exit(0) }
Package graceful contains best practice http server configurations and helpers for Go 1.8's http graceful shutdown feature.
Package graceful implements graceful shutdown for HTTP servers by closing idle connections after receiving a signal.
Package gracehttp provides easy to use graceful restart functionality for HTTP server.
Package interrupts exposes helpers for graceful handling of interrupt signals
Package httpdown provides http.ConnState enabled graceful termination of http.Server.
Package grace implements set of helper functions around syscal.Signals for gracefully shutdown and reload the service.
Package tel represent Telemetry service we support context as source of Telemetry for gracefully support middleware we not pass ref to Telemetry for better handling different log instances
Deprecated: This package is no longer maintained.
Package tel represent Telemetry service we support context as source of Telemetry for gracefully support middleware we not pass ref to Telemetry for better handling different log instances
Package graceful provides a mechanism to gracefully stop processes on os signals.
graceful package shutdown or reboot current process gracefully.
Package app is starting and stopping services gracefully, using golang.org/x/sync/errgroup to ensure that multiple services are started properly at the same time.
alive helps servers to coordinate graceful or fast stopping
Package graceful provides graceful start, graceful retry, and graceful stop! It can be used for: - Gracefully starting servers (http, grpc, etc.) and clients (external services, databases, message queues, etc.).