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 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 graceful_shutdown provides a filter for shutting down gracefully.
Gracefully handle image uploading and thumbnail creation.
Package app implements OTEL, prometheus, graceful shutdown and other common application features for go-faster projects.
alive helps servers to coordinate graceful or fast stopping