{"id":65647,"library":"braintree-manners","title":"Manners","description":"Package manners provides a wrapper for a standard net/http server that ensures all active HTTP clients have completed their current request before the server shuts down.","status":"active","version":"0.0.0-20160418043613-82a8879fc5fd","language":"go","source_language":null,"source_url":"https://github.com/braintree/manners","tags":["http","server","graceful-shutdown","net-http"],"install":[{"cmd":"go get github.com/braintree/manners","lang":"bash","label":"Install github.com/braintree/manners"}],"dependencies":[],"imports":[{"symbol":"manners","correct":"github.com/braintree/manners"}],"quickstart":{"code":"package main\n\nimport (\n\t\"log\"\n\t\"net/http\"\n\t\"github.com/braintree/manners\"\n)\n\nfunc main() {\n\tmux := http.NewServeMux()\n\tmux.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Write([]byte(\"Hello, world\"))\n\t})\n\tserver := manners.NewServer()\n\tserver.Handler = mux\n\tlog.Fatal(server.ListenAndServe(\":8080\"))\n}","lang":"go","description":"Creates a graceful HTTP server that waits for active requests to finish before shutting down."},"warnings":[],"env_vars":null,"search_vec":"'activ':15 'client':17 'complet':19 'current':21 'ensur':13 'grace':31 'graceful-shutdown':30 'http':16,28,35 'manner':1,3 'net':34 'net-http':33 'net/http':10 'packag':2 'provid':4 'request':22 'server':11,25,29 'shut':26 'shutdown':32 'standard':9 'wrapper':6","created_at":"2026-06-17T17:13:22.198624+00:00","updated_at":"2026-06-17T17:13:22.198624+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/braintree/manners","github":"https://github.com/braintree/manners","docs":"https://pkg.go.dev/github.com/braintree/manners#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}