Registry / networking / facebookgo-httpdown

facebookgo-httpdown

JSON →
library0.0.0-20180706035922-5979d39b15c2gogounverified

Package httpdown provides http.ConnState enabled graceful termination of http.Server.

go get github.com/facebookgo/httpdown
INSTALL
IMPORT
SIG · FACEBOOKGO-HTTPDOW
F
facebookgo-httpdown
networkinggov0.0.0-20180706035922-5979d39b15c2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

httpdown
✓ github.com/facebookgo/httpdown

Gracefully start and stop an HTTP server with connection state tracking.

package main import ( "net/http" "github.com/facebookgo/httpdown" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello")) }) hd := &httpdown.HTTP{} hd.ListenAndServe(&http.Server{Addr: ":8080"}) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180706035922-5979d39b15c2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
facebookgo-httpdown — go get facebookgo-httpdown · libregistry